It occurs to me that during a Rename/Move operation, if the file exists in the target directory and I don't want to overwrite it, it would be nice if it stayed selected in the source panel. That way, I could easy delete it from the source.
My example is that I'm buying ebooks from HumbleBundle but sometimes I already have that book from a prior purchase and I tend to annotate my PDFs with notes. So, if the book is already in the destination, I don't want to overwrite it (and lose my notes). I just want to remove it from the source. Now, I could either have it removed during the move, OR just leave it marked in the source panel (my preference). That way, I can do the delete myself in one step.
Can I do this today?
could the MOVE operation remove from SOURCE if duplicate?
Moderators: Hacker, petermad, Stefan2, white
Re: could the MOVE operation remove from SOURCE if duplicate?
There is the internal command cm_RestoreSelection which by default is bound to Num /
This restores your last selection.
This restores your last selection.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: could the MOVE operation remove from SOURCE if duplicate?
You can also make use of TC's directory synchonization feature to accomplish what you want. Select "duplicates" and perhaps "Equal files" and deselect "singles". Let TC compare the structures and then you can delete files via the context menu ("Delete left", or "Delete right"). Just make sure that you don't delete files on the wrong side!
Regards
Dalai
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: could the MOVE operation remove from SOURCE if duplicate?
wow - you folks are amazing! Thanks for both ideas!
Re: could the MOVE operation remove from SOURCE if duplicate?
By the way, the first solution, using the NUM-/ command only re-marks one file, not all the files that were selected. The Sync operation is likely the better solution for me.
Re: could the MOVE operation remove from SOURCE if duplicate?
For me it reselects the last active selection whatever the number of files where.perrella wrote: 2021-10-21, 13:02 UTC By the way, the first solution, using the NUM-/ command only re-marks one file, not all the files that were selected. The Sync operation is likely the better solution for me.
But the synchronize function is of course the normal solution.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: could the MOVE operation remove from SOURCE if duplicate?
2perrella
You could also use this button before the move operation:
You could also use this button before the move operation:
Code: Select all
TOTALCMD#BAR#DATA
cm_SelectAllBoth,cm_CopyNamesToClip,cm_FocusTrg,cm_GoToFirstEntry,cm_ClearAll,cm_LoadSelectionFromClip,cm_CopyNamesToClip,cm_FocusTrg,cm_ClearAll,cm_LoadSelectionFromClip
wcmicons.dll,72
Mark files and folders that exist in both windows
-1
Then delete the marked files in the source side, and then mark the remaining files for movingTo make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
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