using rsync to get filestats

Matt McCutchen matt at mattmccutchen.net
Tue Oct 14 04:30:52 GMT 2008


On Tue, 2008-10-14 at 00:28 -0400, Mag Gam wrote:
> Great. Thanks matt. I was using the find method, but I want to find a
> better way to get my directory sizes. I suppose a find -printf may
> work.

"find -printf" will give you the sizes of the directories (as lists of
entries) themselves.  If you want subtree sizes, use "du".

Matt



More information about the rsync mailing list