Rename/Move: enable "Move to all selected ..." option
Moderators: Hacker, petermad, Stefan2, white
Rename/Move: enable "Move to all selected ..." option
In Copy dialog, under Option there is a handy one called "Copy to all selected folders/links in target panel".
For Rename/Move dialog, this option is completely disabled.
I guess currently this option is disabled for safety reasons, but I think TC could make it safe enough by either copying each file from source to selected destinations 1 by 1 and ask whether user wants to delete from source if couldn't copy to at least 1 destination location.
If this is too complex for now, I suggest to enable it under a name "Move to selected folder/link in target panel" at least for a case if only 1 folder/link is selected in a target panel - then it will be a good alternative to Shift+Drag&Drop and there will be no need to switch to target panel to enter the destination dir in it before moving with F6 on keyboard.
For Rename/Move dialog, this option is completely disabled.
I guess currently this option is disabled for safety reasons, but I think TC could make it safe enough by either copying each file from source to selected destinations 1 by 1 and ask whether user wants to delete from source if couldn't copy to at least 1 destination location.
If this is too complex for now, I suggest to enable it under a name "Move to selected folder/link in target panel" at least for a case if only 1 folder/link is selected in a target panel - then it will be a good alternative to Shift+Drag&Drop and there will be no need to switch to target panel to enter the destination dir in it before moving with F6 on keyboard.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Rename/Move: enable "Move to all selected ..." option
Support++
I don't see any problems in resolving the option.
At the moment, on the "Dialog box: Choose command" page, the option "A: Copy to all selected folders in the target panel" is specified for CM_COPY and CM_RENMOV.
I don't see any problems in resolving the option.
At the moment, on the "Dialog box: Choose command" page, the option "A: Copy to all selected folders in the target panel" is specified for CM_COPY and CM_RENMOV.
Overquoting is evil! 👎
Re: Rename/Move: enable "Move to all selected ..." option
Support+++
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Rename/Move: enable "Move to all selected ..." option
The problem is that move should only occur when all operations were a success. This cannot be handled with how copy to multi currently works, where a line is added to the background transfer manager for each copied file and each target.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Rename/Move: enable "Move to all selected ..." option
2ghisler(Author)
The answer is unclear. Why is it impossible to wait for the copy to be performed in order to delete the selected one at the end?
The answer is unclear. Why is it impossible to wait for the copy to be performed in order to delete the selected one at the end?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Rename/Move: enable "Move to all selected ..." option
The "Move to all selected ..." option adds one line to the background transfer manager for each file and destination. So if you copy 10 files to 3 destinations, it adds 30 lines. While I could add 3 "delete" commands after these (one for each file), there would be no guarantee that the copy operations would be a success. Alternatively, I could make the first last operation for each file a "move", but this could also have bad effects:
1. If one of the previous copy operations fails, the file will still be deleted by the last operation, which is a move
2. If only the last operation fails, the file will be in the other destinations and would be deleted from the source
3. If the user pauses and rearranges the list, he may be moving a move operation in front of a copy operation of the same file
1. If one of the previous copy operations fails, the file will still be deleted by the last operation, which is a move
2. If only the last operation fails, the file will be in the other destinations and would be deleted from the source
3. If the user pauses and rearranges the list, he may be moving a move operation in front of a copy operation of the same file
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Rename/Move: enable "Move to all selected ..." option
But you can control the progress of the operation. Why not delete only if successful?
If the file cannot be copied to at least one of the folders, it's not deleted. It seems to be not so difficult.
If the file cannot be copied to at least one of the folders, it's not deleted. It seems to be not so difficult.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Rename/Move: enable "Move to all selected ..." option
The problem is that there isn't just one operation. It's split into multiple separate operations for the files and targets.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Rename/Move: enable "Move to all selected ..." option
But you can use a resettable counter and write to the log what was not copied. Is not it so?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Rename/Move: enable "Move to all selected ..." option
No, the user could pause the operation and remove some targets where certain files aren't needed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Rename/Move: enable "Move to all selected ..." option
And what's the problem here? If the user wanted to do this, then he should clearly understand that when moving the file in the source folder, it will be deleted.
Overquoting is evil! 👎