using rsync to get filestats
matt at mattmccutchen.net
Sun Oct 19 01:00:59 GMT 2008
On Sat, 2008-10-18 at 20:55 -0400, Mag Gam wrote:
> Thanks Matt. I suppose I could use rsync to know how big a directory
> is then...right?
> rsync --progress -avzL -n /source /foo
> That should give me the total number of bytes to transfer
That will work, but --progress seems to be pointless on a dry run, and
you might like to pass --stats to get some additional information.
More information about the rsync