Hongyi Zhao
2015-Apr-18 04:15 UTC
Skip based on checksum not worked as expected when using with complex filter rules.
On Fri, 17 Apr 2015 23:45:42 -0400, Kevin Korb wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > So, I am assuming that without --itemize-changes you couldn't tell the > difference between "I am transferring a file" and "I am fixing the > timestamp on a file". > > Even if I am right, you are probably still mis-using --checksum. When > you use --checksum you force a checksumming of absolutely everything on > both ends before anything else happens. Without --checksum a file with > a wrong timestamp will be delta-xferred. A delta-xfer is at worst the > same as a both side checksum. If you let it delta-xfer files with wrong > timestamps that is much faster than --checksum since - --checksum wastes > time checksumming files that can't possibly have a checksum match.Yes, with `--checksum' is a time-consuming thing ;-(> > Simply put, if you use --checksum without one of --itemize-changes, > - --link-dest, or --write-batch you are doing something horribly wrong.So, I think that use the `-niv' combinations and then do the extract as follows: awk '/^>f/' Should enuogh for most cases to check the stuff which are need to be updated. Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Kevin Korb
2015-Apr-18 04:39 UTC
Skip based on checksum not worked as expected when using with complex filter rules.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I still don't see an output from rsync --itemize-changes with an A/B difference. On 04/18/2015 12:15 AM, Hongyi Zhao wrote:> On Fri, 17 Apr 2015 23:45:42 -0400, Kevin Korb wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> >> So, I am assuming that without --itemize-changes you couldn't >> tell the difference between "I am transferring a file" and "I am >> fixing the timestamp on a file". >> >> Even if I am right, you are probably still mis-using --checksum. >> When you use --checksum you force a checksumming of absolutely >> everything on both ends before anything else happens. Without >> --checksum a file with a wrong timestamp will be delta-xferred. >> A delta-xfer is at worst the same as a both side checksum. If >> you let it delta-xfer files with wrong timestamps that is much >> faster than --checksum since - --checksum wastes time >> checksumming files that can't possibly have a checksum match. > > Yes, with `--checksum' is a time-consuming thing ;-( > >> >> Simply put, if you use --checksum without one of >> --itemize-changes, - --link-dest, or --write-batch you are doing >> something horribly wrong. > > So, I think that use the `-niv' combinations and then do the > extract as follows: > > awk '/^>f/' > > Should enuogh for most cases to check the stuff which are need to > be updated. > > Regards >- -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ 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 iEYEARECAAYFAlUx4A4ACgkQVKC1jlbQAQeXkwCg3PV/RHRH0YmJexnhT2UipZ2j NPsAnA1CDtilemMOagzjA5nPV+8/vW+k =6FVH -----END PGP SIGNATURE-----
Hongyi Zhao
2015-Apr-18 04:58 UTC
Skip based on checksum not worked as expected when using with complex filter rules.
On Sat, 18 Apr 2015 00:39:42 -0400, Kevin Korb wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I still don't see an output from rsync --itemize-changes with an A/B > difference.What do you mean by saying the above things? Do you mean only the `--itemize-changes' is enough for my case? Or Do you want to see the output from my case of running on the different rsync options? Regards -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Reasonably Related Threads
- Skip based on checksum not worked as expected when using with complex filter rules.
- Skip based on checksum not worked as expected when using with complex filter rules.
- Skip based on checksum not worked as expected when using with complex filter rules.
- Skip based on checksum not worked as expected when using with complex filter rules.
- Skip based on checksum not worked as expected when using with complex filter rules.