Custom Move

Features wanted...
eil
Posts: 1822
Joined: 13 Jan 2011 19:44

Re: Custom copy doesn't work with drag'n'drop

Post by eil »

for the moment i'm not against of Move as Copy+Delete source. but i think it will need to be another button for settings added in >File Operations.
iycgtptyarvg wrote:When I move the files, I want them to be named xyz.cbr, xyz_01.cbr, xyz_02.cbr. Even though I move the files, I still have use for the renaming part.
but that is a copy operation prerogative, not a move's one :| am i wrong?
Win 7 SP1 x64 100% 1366x768|1900x1080

Sander Bouwhuis
Posts: 246
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: Custom copy doesn't work with drag'n'drop

Post by Sander Bouwhuis »

Assume having these 2 files:
D:\Comicbooks\Checking\abc.cbr
D:\Comicbooks\Done\abc.cbr

After checking D:\Comicbooks\Checking\abc.cbr I move it to the D:\Comicbooks\Done directory. Because there already is a file called abc.cbr it should rename it to abc_01.cbr.

Assume having these 3 files:
D:\Comicbooks\Checking\abc.cbr
D:\Comicbooks\Done\abc.cbr
D:\Comicbooks\Done\abc_01.cbr

After checking D:\Comicbooks\Checking\abc.cbr I move it to the D:\Comicbooks\Done directory. Because there already are files called abc.cbr and abc_01.cbr it should rename it to abc_02.cbr.


So, I would really like the move to work like the copy (the renaming part, that is).
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Custom copy doesn't work with drag'n'drop

Post by PeterH »

eil wrote:for the moment i'm not against of Move as Copy+Delete source. but i think it will need to be another button for settings added in >File Operations.
iycgtptyarvg wrote:When I move the files, I want them to be named xyz.cbr, xyz_01.cbr, xyz_02.cbr. Even though I move the files, I still have use for the renaming part.
but that is a copy operation prerogative, not a move's one :| am i wrong?
I'd understand it this way:

An intrapartition move is only a rename. (The unchanged physical data on disk just gets another name.)
If the new name already exists, it should (if requested!) be modified - but then it's still only a "modified rename". Still no physical data is copied on disk.

Or am I wrong somewhere?

Sander Bouwhuis
Posts: 246
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: Custom copy doesn't work with drag'n'drop

Post by Sander Bouwhuis »

PeterH wrote:Or am I wrong somewhere?
I agree 100%.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

eil
Posts: 1822
Joined: 13 Jan 2011 19:44

Re: Custom copy doesn't work with drag'n'drop

Post by eil »

PeterH wrote:I'd understand it this way:
An intrapartition move is only a rename. (The unchanged physical data on disk just gets another name.)
If the new name already exists, it should (if requested!) be modified - but then it's still only a "modified rename". Still no physical data is copied on disk.
Or am I wrong somewhere?
for me that's not correct. :mrgreen: whether it's an intra-volume move(logic of which i know) or a cross-volume, it's "handled"(visually, for user) as one Move command.
all the names to these commands were given for some purpose, so: when i want to rename i Rename; when i want to get a duplicate i Copy(with same name if cross-volume and rename/increment if intra-volume); when i want to move i Move(if it's cross- file must be gone at the source, if it's intra-, or more precisely even same path, nothing at all should happen).
Last edited by eil on 26 Jul 2011 15:17, edited 1 time in total.
Win 7 SP1 x64 100% 1366x768|1900x1080

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Custom copy doesn't work with drag'n'drop

Post by nas8e9 »

eil wrote:
PeterH wrote:I'd understand it this way:
An intrapartition move is only a rename. (The unchanged physical data on disk just gets another name.)
If the new name already exists, it should (if requested!) be modified - but then it's still only a "modified rename". Still no physical data is copied on disk.
Or am I wrong somewhere?
for me that's not correct. :mrgreen: whether it's an intra-volume move(logic of which i know) or a cross-volume, it's "handled"(visually, for user) as one Move command.
all the names to these commands were given for some purpose, so: when i want to rename i Rename; when i want to get a duplicate i Copy(with same name if cross-volume and rename/increment if intra-volume); when i want to move i Move(if it's croos- file must be gone at the source, if it's intra-, or more precisely even same path, nothing at all should happen).
It gets a little bit confusing: an intra-partition move is basically shuffling a pointer in the MFT (the file system administration) from one folder to another. Based on that, I wouldn't call it a rename.

If XYplorer encounters a name collision (there's already a file of that name in the move's destination folder) then Custom Copy will optionally rename the source item before moving it in the destination folder, as well.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Custom copy doesn't work with drag'n'drop

Post by PeterH »

eil wrote:
PeterH wrote:I'd understand it this way:
An intrapartition move is only a rename. (The unchanged physical data on disk just gets another name.)
If the new name already exists, it should (if requested!) be modified - but then it's still only a "modified rename". Still no physical data is copied on disk.
Or am I wrong somewhere?
for me that's not correct. :mrgreen: whether it's an intra-volume move(logic of which i know) or a cross-volume, it's "handled"(visually, for user) as one Move command.
all the names to these commands were given for some purpose, so: when i want to rename i Rename; when i want to get a duplicate i Copy(with same name if cross-volume and rename/increment if intra-volume); when i want to move i Move(if it's cross- file must be gone at the source, if it's intra-, or more precisely even same path, nothing at all should happen).
The names "move" or "copy" were given for some level of understanding, but not for the real function behind that.

The problem here is that we see a file as the meaning of it's name: the (full) name seems "to be" that file. But that's not true: the file is the data somewhere on disk, and the name is only a pointer to it. *One* file even may have two or more names, i.e. c:\a.txt and c:\x\y\z\b.save. Both names *seem* to be in different levels of the file system, but both are just pointers to the same blocks of data on disk.
And so an intra-partition move is, as nas8e9 says, nothing but a change of pointers to the same data - the data isn't touched ("moved") in any way. (That's why such a "move" is so fast, no matter how big the file is.)

And to the difference of (intra-partition) renames and moves: it only is what we see, nothing internal!
For a rename we change the lowest level of the full name, e.g. c:\x\a.txt to b.txt (for sure also "in c:\x\").
For a move we change what we see as the location: c:\x\a.txt to c:\some\other\a.txt
For the file system both is just the change of the name of a pointer to the physical data, nothing else.

eil
Posts: 1822
Joined: 13 Jan 2011 19:44

Re: Custom copy doesn't work with drag'n'drop

Post by eil »

about all these semi-pointers - i'm glad i never use that 'cause i'd lose many info :mrgreen:
as for all other: i did know that(more or less, so thanks for more :wink: ), but i was talking about these operations as they are seen by a mere user.
it seems i got those few posts above a bit wrong, 'cause if it' all about "rename on name collusion even if while Move"(as nas8e9 wrote), then i agree. but if it's not, i still don't get it :lol:
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 65064
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Custom Move

Post by admin »

OK, I'll be adding file moves to Custom Copy now (you might call it "Custom Move" but I try to avoid this, see below). After re-reading this thread and a bit of meditation I think we just need one additional check box in Configuration | File Operations:

Use Custom Copy for all move operations

(I know that using the term "Custom Copy" for move operations will strike some as nonsense, but what would be a better solution? It reflects that internally both operations use the same code with only little differences, that both share the mostly same configuration options and interface, and it makes talking about it much more comfortable. I really don't want to end up having to write "Custom Copy/Custom Move" all the time...)

Intra/Cross: The differences between intra and cross volume moves don't have to be taken to the user level IMO. XY will handle this silently and with all necessary respect. I don't see any use for configurability here (having the one done by Custom Copy, and the other by the Shell).

Moved Folders: Once somebody wished for a files-only-move (where the emptied source folders would remain in place). That would be a possible further option (Leave source folders in place), but I'm not sure how often this functionality would actually be used. It might be an overkill. Anybody interested?

Sander Bouwhuis
Posts: 246
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: Custom Move

Post by Sander Bouwhuis »

This sounds good to me. A new Custom copy/move checkbox would indeed fix this for users in a simple and clear way.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

eil
Posts: 1822
Joined: 13 Jan 2011 19:44

Re: Custom Move

Post by eil »

admin wrote:I think we just need one additional check box in Configuration | File Operations:
Use Custom Copy for all move operations
agreed :)
admin wrote:I know that using the term "Custom Copy" for move operations will strike some as nonsense, but what would be a better solution?
why nonsense?! people use TeraCopy understanding that it makes moves as well -and no confusion. :wink:
admin wrote:Intra/Cross: The differences between intra and cross volume moves don't have to be taken to the user level IMO. XY will handle this silently and with all necessary respect.
good decision.
admin wrote:Moved Folders: Once somebody wished for a files-only-move (where the emptied source folders would remain in place). Anybody interested?
me have no use in it. or at least i don't have enough fantasy at the moment to imagining for what it could be useful.
Win 7 SP1 x64 100% 1366x768|1900x1080

admin
Site Admin
Posts: 65064
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Custom Move

Post by admin »

Hmm, I'm just asking myself if we really need the distinction:
Use Custom Copy for all copy operations
Use Custom Copy for all move operations


Would somebody really use a mixed choice? Or should we simply do:
Use Custom Copy for all copy and move operations

Sander Bouwhuis
Posts: 246
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: Custom Move

Post by Sander Bouwhuis »

I would keep both checkboxes. If there is even 1 user out there depending on the current behaviour it will cause grief for them.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 65064
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Custom Move

Post by admin »

iycgtptyarvg wrote:I would keep both checkboxes. If there is even 1 user out there depending on the current behaviour it will cause grief for them.
Yep, good point. The other point is that I haved already implemented it now with 2 checkboxes. :)

Well actually I made 3 checkboxes because it deemed me more practical:

Code: Select all

[x] Use Custom Copy
    [x] For all copy operations
    [x] For all move operations

highend
Posts: 14593
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Custom Move

Post by highend »

Will the new custom move make these two windows dispensable?
Unbenannt.png
Unbenannt.png (42.41 KiB) Viewed 2087 times
and:
Unbenannt2.png
Unbenannt2.png (19.38 KiB) Viewed 2086 times
One of my scripts helped you out? Please donate via Paypal

Post Reply