Skip based on checksum not worked as expected when using with complex filter rules.
Kevin Korb
kmk at sanitarium.net
Fri Apr 17 22:39:42 MDT 2015
-----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-----
More information about the rsync
mailing list