How to force checksum in dry-run

Kevin Korb kmk at sanitarium.net
Sat Dec 20 19:57:02 MST 2014


-----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? 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlSWNv4ACgkQVKC1jlbQAQflyACdH6f931vYWxy7xluW0cnnOfc0
TSIAn0A8P78vxSkTa9pJDwRAwmBYw1A+
=UfSG
-----END PGP SIGNATURE-----


More information about the rsync mailing list