[wplug] find question

Michael H. Semcheski mhsemcheski at gmail.com
Wed Mar 14 14:16:39 EST 2007


On 3/14/07, Eric Cooper <ecc at cmu.edu> wrote:
>
> find ... | xargs du -c
>

This is pretty close, but the directories screw up the counting -- the total
ends up being 2x because the files get added to the directory size.

Adjusting find, what I'm doing is:

find BLOB_1/ -type f -mtime +30 -mtime -60 | xargs du -ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20070314/0029e9b9/attachment.html


More information about the wplug mailing list