using rsync to get filestats
magawake at gmail.com
Sun Oct 19 00:55:32 GMT 2008
Thanks Matt. I suppose I could use rsync to know how big a directory
rsync --progress -avzL -n /source /foo
That should give me the total number of bytes to transfer
On Wed, Oct 15, 2008 at 3:03 PM, Matt McCutchen <matt at mattmccutchen.net> wrote:
> On Tue, 2008-10-14 at 07:31 -0400, Mag Gam wrote:
>> Does rsync use stat()? does find use stat() when running with printf?
>> I think the stat() is the most expensive part.
> Rsync and "find -printf" both use stat(2).
More information about the rsync