"need a quick hashing method"
ptader at linuxscope.com
Mon Nov 22 13:28:46 GMT 2010
On Nov 22, 2010, at 6:58 AM, Loïc Grenié <loic.grenie at gmail.com>
> 2010/11/22 Arthur Bela <jozsi.avadkan at gmail.com>:
>> I copy files between HDD#1 and HDD#2.
>> When i finish, i need a quick "hasing method" - i just want to check,
>> that the copy was 100% ok.
>> md5sum, sha256sum is slow -> are there any "very fast" hash
>> - just for checking if the copied file is corrupt or not [i just need
>> to know, if there were even 1 Byte error when copying]
>> i can write the script, that checks the files, i just need a hash
>> algoritm [""software/command""], that is fast enough.
> Since you want to verify everything, the best you can do is just
> to use diff. No hashing, just reading the data and comparing
> (which is more than 10000 times faster than the reading on the
> disks, thus negligible).
> Hope this helps,
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Or you might want to use the rsync command and it's checksum (-c)
More information about the ubuntu-users