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: k...@sanitarium.net
> To: rsync@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? 
                                          
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to