Hi,
sorry if this has been posted before, I couldn't find the exact same question. Closest is probably https://ghisler.ch/board/viewtopic.php?t=52595. Maybe it already answers my questions, but I don't understand it that way, yet.
What I have:
Two folders, one - FolderA - containing hundreds of pictures in high quality. The other one - FolderB - containing a subset (~50) of the pictures in FolderA, but in worse quality. However, the filenames are the same in both folders.
What I want to do:
I want to get the subset from FolderB, but in high quality from FolderA. In other words, I want to find the pictures listed in FolderB in FolderA and copy those to a new FolderC.
Can somebody tell me, if that's possible straight forward? If so, can you give me a dummy explanation, please?
Thanks,
arbine
Copying a list of files (i.e. content of another folder)
Moderators: white, Hacker, petermad, Stefan2
Re: Copying a list of files (i.e. content of another folder)
As long as the directory structure is idential it can be done like this:
Dalai
- Navigate to FolderA on the left-hand side and to FolderB on the other side.
- Open the directory synchronization tool via menu Commands > Synchronize Dirs or its associated command cm_FileSync.
- In the synchronize directories dialog, disable "Singles" and enable "Unequal files".
- Press Compare and once that's done, set the synchronization direction via the context menu: Select for copying -> (left to right). This step is important because it determines which files are going to be copied in the next step
- Click Synchronize, and before confirming, change the target to FolderC via the edit field or the Browse button.
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: Copying a list of files (i.e. content of another folder)
2arbine
You can use this button:
to mark the files in FolderB that also exist in FolderA, then change folderB to folderC and copy.
You can use this button:
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
0
-1
To 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.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Copying a list of files (i.e. content of another folder)
IMO
is enough in this case
Code: Select all
TOTALCMD#BAR#DATA
cm_FocusTrg, cm_SelectAllFiles, cm_CopyNamesToClip, cm_ClearAll, cm_FocusTrg, cm_LoadSelectionFromClip
wcmicons.dll,72
Mark files that exist in target panel
0
-1
Re: Copying a list of files (i.e. content of another folder)
A little information I did not provide in my first post: One of the folders is actually a Phone connected via USB. Sync Tool is not working for it. I had the same idea at one point, but couldn't do it that way. Thanks nevertheless!Dalai wrote: ↑2021-12-03, 20:38 UTC As long as the directory structure is idential it can be done like this:Regards
- Navigate to FolderA on the left-hand side and to FolderB on the other side.
- Open the directory synchronization tool via menu Commands > Synchronize Dirs or its associated command cm_FileSync.
- In the synchronize directories dialog, disable "Singles" and enable "Unequal files".
- Press Compare and once that's done, set the synchronization direction via the context menu: Select for copying -> (left to right). This step is important because it determines which files are going to be copied in the next step
- Click Synchronize, and before confirming, change the target to FolderC via the edit field or the Browse button.
Dalai
Thanks for all the replies!
I will try the button-option tomorrow, although I have never created a button in TC before.