Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  4 Jan 2008 16:49:26 +0000 (UTC)
From:      John Webster <jwebster@es.net>
To:        Paul Schmehl <pauls@utdallas.edu>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Paging Matthew Seaman
Message-ID:  <DC5E17794226ADB577B93A3F@adsl-63-206-71-70.dsl.snfc21.pacbell.net>
In-Reply-To: <C744FBF9115EEDDECAE10B25@utd59514.utdallas.edu>
References:  <179863EA8C3D6945412CA598@utd59514.utdallas.edu>	<477E58E1.4010509@tundraware.com> <C744FBF9115EEDDECAE10B25@utd59514.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


--On Friday, January 4, 2008 10:28 AM -0600 Paul Schmehl <pauls@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@utdallas.edu)
> 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 "freebsd-questions-unsubscribe@freebsd.org"
> 







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC5E17794226ADB577B93A3F>