When attempting to Synchronize Directories, TC will not match files that are contained within different directories.
I imagine the reason for this is you could wind up with multiple files with the same filename. Yet I frequently would find this functionality very useful:
A way to compare files that are similiar, but are contained within different directories, esp. If SubDir Branch View has been enabled in one or both of the panels.
Synchronize Dirs after Sub Dir Branch View enabled
Moderators: Hacker, petermad, Stefan2, white
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
No Responses at all?
The problem I have, files I have backed up or temporarily copied to other directories are not in the same directory structure. SynchronizeDirs will not match the exact same file if it is in a different directory.
cm_CompareDirs only matches files that have the same name AND date - whereas SynchronizeDirs can ignore date and/or compare by fileContent.
Unless I am missing something, this would be quite useful to be able to compare files that may have a different date between panels after cm_DirBranch.
Or even a command that would perform similiar to cm_CompareDirs but match against the MD5 hash - thus matching files that have a different name.
The problem I have, files I have backed up or temporarily copied to other directories are not in the same directory structure. SynchronizeDirs will not match the exact same file if it is in a different directory.
cm_CompareDirs only matches files that have the same name AND date - whereas SynchronizeDirs can ignore date and/or compare by fileContent.
Unless I am missing something, this would be quite useful to be able to compare files that may have a different date between panels after cm_DirBranch.
Or even a command that would perform similiar to cm_CompareDirs but match against the MD5 hash - thus matching files that have a different name.
- ghisler(Author)
- Site Admin
- Posts: 50865
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You didn't get a reply because it's simply not possible in synchronize dirs. Comparing MD5 checksums would be a possibility, but probably much slower than the current solution except if there are really a LOT of big files moved arround. For MD5, TC would have to read the contents of all the source and target files, which are usually much more than the modified files. Therefore it's probably faster to just delete the files in the old location and copy them again from the source...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com