Skip based on checksum not worked as expected when using with complex filter rules.
Hongyi Zhao
hongyi.zhao at gmail.com
Fri Apr 17 22:15:17 MDT 2015
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 :.
More information about the rsync
mailing list