Thanks.

Does rsync use stat()? does find use stat() when running with printf?
I think the stat() is the most expensive part.



On Tue, Oct 14, 2008 at 12:30 AM, Matt McCutchen <[EMAIL PROTECTED]> wrote:
> 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
>
>
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to