Page 1 of 1

[wish] Comparing files with minimum xx% the same

Posted: 2009-08-29, 14:35 UTC
by Simon2
Hi,

Is it possible to use the file compare function of tc to give a list of files the are not 100%, but a minimum of specified amount xx% the same?
Would that be possible?

Simon

Posted: 2009-08-29, 14:58 UTC
by MVV
Specify how you want to determine % of similarity please.

Maybe for binary files this % may be determined as equal_bytes/total_bytes*100. But for binary files usually similarity less than 100% is equal to current result 'files differ'.

How do you want to calculate % for text files for example?

Posted: 2009-08-29, 15:03 UTC
by Simon2
I don't know how it would be done.
I would like to compare jpg's that have changed slightly after importing. Some meta data added i think, they are still 99.9% the same i guess.

maybe it's a nice addition to compare or maybe not....