Rsync shouldn't display a meaningless speedup on a dry run
matt at mattmccutchen.net
Mon Nov 5 18:17:32 GMT 2007
On a dry run, rsync displays a speedup value calculated from the total
size of the source file data and the amount of data sent over the
connection, but this value is meaningless and grossly misleading because
the file data is not sent over the connection. Example:
[matt at mattlaptop2 test]$ rsync -avi -n ~/eclipse/releases/eclipse-SDK-3.3-linux-gtk.tar.gz .
sending incremental file list
sent 74 bytes received 15 bytes 178.00 bytes/sec
total size is 144352015 speedup is 1621932.75
I think rsync should omit the speedup on a dry run. The attached patch
makes it do so.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 759 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20071105/21745eed/dry-run-no-speedup.bin
More information about the rsync