On 2016-12-07 13:26, Anton Aylward wrote:
On 12/06/2016 11:34 PM, John Andersen wrote:
Greg Freemyer
Doesn't rsync hash files on both ends to find which files need to be synced?
If so, wouldn't another rsync run find any differences?
Why would you need another tool?
Indeed. From the man page:
-c, --checksum ... Note that rsync always verifies that each transferred file was correctly reconstructed on the receiving side by checking a whole-file checksum that is generated as the file is transferred, but that automatic after-the-transfer verification has nothing to do with this option’s before-the-transfer "Does this file need to be updated?" check.
Note from that: rsync *always* verifies ... after the transfer.
Yes. You can do a second run with checksum enabled, and it will compare the checksums at both sides, again. I do this for archival media. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)