How to force checksum in dry-run
eightfold at outlook.com
Sun Dec 21 13:40:58 MST 2014
I chose rsync over diff -r because diff -r is a binary comparison and it takes longer than creating a checksum. Isn't that correct?
I did not understand this:
> Rsync isn't even smart enough to not bother checksumming things that don't even have a comparison file.
--checksum seems to work as you say even in --dry-run mode. At least it takes a lot of time, which should be a good sign.
> Date: Sat, 20 Dec 2014 21:57:02 -0500
> From: kmk at sanitarium.net
> To: rsync at lists.samba.org
> Subject: Re: How to force checksum in dry-run
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> It will work but why not just use diff -r ? Or a dedicated file
> validation utility like cfv?
> Rsync isn't even smart enough to not bother checksumming things that
> don't even have a comparison file.
> On 12/20/2014 09:42 PM, eightfold ? wrote:
> > I want to use rsync to diff two folders (with checksum) by using
> > dry-run and itemize changes like this: rsync -rni --checksum /dir1/
> > /dir2/> ~/Desktop/diff.log
> > However, I read that in --dry-run rsync wont do checksums. Is this
> > true? If it is, is there a way to force checksums i dry-run mode?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync