Protocol of checksums generated with -c option?

Wayne Davison wayned at samba.org
Sat Mar 21 16:10:21 GMT 2009


On Sat, Mar 21, 2009 at 02:06:42PM +0100, Christian Hecht wrote:
> Now my question is, when i use rsync with the -c option, is it possible to 
> output the filename and the generated hash to any file?

Rsync 3.1.0dev supports the %C escape in log formats, which can output
the sender's checksum anytime a file is transferred (even without -c),
or for any file when -c is used.  Example options for controlling the
output format:

    --out-format='%C %n%L'
    -ii --out-format='%i %C %n%L'

There is also a log-checksum.diff in the patches directory for the 3.0.x
releases.

..wayne..


More information about the rsync mailing list