[wish] Comparing files with minimum xx% the same

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Simon2
Junior Member
Junior Member
Posts: 2
Joined: 2009-03-25, 19:27 UTC

[wish] Comparing files with minimum xx% the same

Post 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
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post 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?
Simon2
Junior Member
Junior Member
Posts: 2
Joined: 2009-03-25, 19:27 UTC

Post 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....
Post Reply