--On Friday, January 4, 2008 10:28 AM -0600 Paul Schmehl <[EMAIL PROTECTED]> 
wrote:

>> 
>> du -hd1
> 
> That's not what I'm looking for.  That will return *files* and directories 
> one level deep.  I want directories *only* all levels deep.
> 

Would the following work?

find /path/to/directories -type d -print0 | xargs -0 du -sh


> -- 
> Paul Schmehl ([EMAIL PROTECTED])
> Senior Information Security Analyst
> The University of Texas at Dallas
> http://www.utdallas.edu/ir/security/
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 




_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to