Hello!
Does "Commands->Synchronize dirs..." + selecting "by content" compare byte by byte, or does it calculate the checksum of each file in the folders and compare them?
What exactly does "by content" mean? Does it mean binary comparison?
Does "File->Compare by content" compare byte by byte or compare the checksums?
In Find duplicate files, if I select "by content", does it compare byte by byte or compare the checksums?
If two files have the same content, but the metadata are different, I still consider them identical because I don't care about the metadata. Does TC think they're the same if compared by content?
I've been using fc.exe /b folder1\* folder2\* to compare folders byte by byte but it cannot go recursively so it's been laborious to do this manually for many folders, and 20 TB of data.
Thank you very much!
Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
Moderators: Hacker, petermad, Stefan2, white
Re: Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
According to Christian's explanation in another thread:
By content compares the first 128kb byte for byte, and stops on mismatch.
Metadata is part of the binary content of a file.
It doesn't care for your personal preferences.
Comparing file without the metadata needs a compare tool
which has format aware plugins for some file types, like Beyond Compare.
Such tools can be integrated into TC using the CompareTool= entry in WinCmd.ini
By content compares the first 128kb byte for byte, and stops on mismatch.
Metadata is part of the binary content of a file.
It doesn't care for your personal preferences.
Comparing file without the metadata needs a compare tool
which has format aware plugins for some file types, like Beyond Compare.
Such tools can be integrated into TC using the CompareTool= entry in WinCmd.ini
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
@Horst.Epp Thank you very much for your reply!
Some of my files are 300GB big. Does TC not check the whole contents of the files byte by byte then if it checks only the first 128kb?
Some of my files are 300GB big. Does TC not check the whole contents of the files byte by byte then if it checks only the first 128kb?
Re: Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
When the first 128kb are identical, the comparison goes on.pcitrus wrote: 2024-11-12, 16:42 UTC Some of my files are 300GB big. Does TC not check the whole contents of the files byte by byte then if it checks only the first 128kb?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
I made a test where I changed one of the last bytes in a 285Kb file, and the Sync tool found the files different.Does TC not check the whole contents of the files byte by byte then if it checks only the first 128kb?
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
Re: Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
@petermad @Horst.Epp
Thank you both so much!
Thank you both so much!
Re: Does "by content" mean binary comparison in "Synchronize dir", "File->Compare by content" and "Find"?
.bat/.cmd could be used for this task.pcitrus wrote: 2024-11-12, 16:07 UTC I've been using fc.exe /b folder1\* folder2\* to compare folders byte by byte but it cannot go recursively so it's been laborious to do this manually for many folders, and 20 TB of data.
Saso
#224551