Total size of multiple directories

Andrew Hunter afrogofmyown at
Fri Jun 25 14:21:29 MDT 2010

> How about using the -c option to du?
> find . -iname "*pic*" -type d | xargs du -shc
> -c should give you a total of all dirs listed.

Hmm... Bob's answer is more clever.  I'd like to support it instead of mine.


More information about the PLUG mailing list