Compare multiple files by content
Posted: 2018-09-20, 12:01 UTC
Hi,
Currently I am not aware of a way to easily check if several files have identical contents or not (Search for duplicates / Compare checksums / Copy to target panel and sync dirs, etc.). Therefore I'd like to propose an enhancement to the Compare By Content function for multiple files. The result would not be any visual comparison of differences, only a short message if the files are or are not equal.
The logic would follow the CbC logic, so, if no files are selected, the usual CbC is invoked.
If multiple files are selected (in one or both panels), all selected files are compared against each other and the result is a message saying either that the files are identical or that the files are different (similar to the situation when TC does not have enough memory to load the files and show the differences).
Perhaps it would be doable that if only one file is different and all the others are identical, TC would show the name of the one different file.
This could be implemented as a new cm_CompareMultipleFilesByContent as to not break backwards compatibility.
TIA for any comments.
Roman
P.S.: I am aware I could write an AHK script to compare selected files, however, I'd like to not go that way.
Currently I am not aware of a way to easily check if several files have identical contents or not (Search for duplicates / Compare checksums / Copy to target panel and sync dirs, etc.). Therefore I'd like to propose an enhancement to the Compare By Content function for multiple files. The result would not be any visual comparison of differences, only a short message if the files are or are not equal.
The logic would follow the CbC logic, so, if no files are selected, the usual CbC is invoked.
If multiple files are selected (in one or both panels), all selected files are compared against each other and the result is a message saying either that the files are identical or that the files are different (similar to the situation when TC does not have enough memory to load the files and show the differences).
Perhaps it would be doable that if only one file is different and all the others are identical, TC would show the name of the one different file.
This could be implemented as a new cm_CompareMultipleFilesByContent as to not break backwards compatibility.
TIA for any comments.
Roman
P.S.: I am aware I could write an AHK script to compare selected files, however, I'd like to not go that way.