Paging Matthew Seaman

John Webster jwebster at es.net
Fri Jan 4 08:49:26 PST 2008



--On Friday, January 4, 2008 10:28 AM -0600 Paul Schmehl <pauls at utdallas.edu> 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 (pauls at utdallas.edu)
> Senior Information Security Analyst
> The University of Texas at Dallas
> http://www.utdallas.edu/ir/security/
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 






More information about the freebsd-questions mailing list