dry-run bytest to be transferred?

Matt McCutchen matt at mattmccutchen.net
Sun Nov 11 21:04:04 GMT 2007


On Sun, 2007-11-11 at 12:47 -0800, Max Kipness wrote:
> Is there anyway on a dry-run to actually see per file how many bytes are to
> be transferred? On a normal run I use  --log-format=/%f/%l/%b/%i which shows
> the total file size and the actual bytes transferred. 
> 
> Also, during a dry-run, is there anyway to show the Literal Data?
> 
> Basically, I'm trying to calculate something before the actual run takes
> place.

You can't get this information on a dry run because a dry run skips file
transfers altogether to save time.  Instead, you could do a push with
--only-write-batch ; this will give you accurate statistics without
sending the file transfer data over the network or modifying the
destination.

Matt



More information about the rsync mailing list