I have uploaded an ISO file to my server via rsync. How can I verify it is correct (Not corrupted or something). This is just in case rsync had an problem.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
One way to do this would be to use md5sum to compute a message digest before sending the file, then do it again on the receiving end, and make sure the hashes match.
Alternately, with an eye towards doing this in a shell script, you could redirect the output of the initial md5sum into a file, send the original file and the file with the message digest to the remote host, and run md5sum on the file with the message digest. You'll often see such files listed on FTP sites along with Linux distribution disk images.
|
||||
|
|