rsync compression (-z) and timestamp

Matt McCutchen matt at mattmccutchen.net
Tue Jan 27 18:25:32 GMT 2009


On Tue, 2009-01-27 at 15:17 +0100, David de Lama wrote:
> I don't see the amount of data rsync do compress. 

Use the %b log escape (see the rsyncd.conf(5) man page) to see the
amount of data actually sent over the wire to transfer each file.
Example:

$ rsync -r -z --out-format='%10b %10l %n' ~/rsync/rsyncweb/ dest/
        63         23 .cvsignore
       168        201 .project
     12217      35385 COPYING.html
      6912      18037 COPYING2.html
      4452      10871 FAQ.html
[...]

-- 
Matt



More information about the rsync mailing list