war story: parallel(1) command

Zbigniew Koziol softquake-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jul 31 18:05:51 UTC 2013


On 31/07/13 22:01, Lennart Sorensen wrote:
> On Wed, Jul 31, 2013 at 07:20:11PM +0400, Zbigniew Koziol wrote:
>> After reading this interesting discussion, I guess I would use the
>> following algorithm:
>>
>> Create a table with filename, its size, and MD5. Just that only.
>>
>> If MD5 is the same, when checking, then check also a stronger hash
>> on file, its size and file name.
>>
>> I am right? Or perhaps I missed something?
> If the size of two files don't match, then they are different, and it
> doesn't matter if the hash matches or not, they are still different.
>
> Only if the size matches and the hash matches is it possible that the
> files are the same.
>

Lenart, there is no need to be too wise.

zb.


--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list