From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 16:49:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C81D616A418 for ; Fri, 4 Jan 2008 16:49:26 +0000 (UTC) (envelope-from SRS0=55095b934864657ad9663f7626ade5fa6ab222e1=570=es.net=webster@es.net) Received: from postal1.es.net (postal3.es.net [IPv6:2001:400:14:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA9413C468 for ; Fri, 4 Jan 2008 16:49:26 +0000 (UTC) (envelope-from SRS0=55095b934864657ad9663f7626ade5fa6ab222e1=570=es.net=webster@es.net) Received: from adsl-63-206-71-70.dsl.snfc21.pacbell.net (adsl-63-206-71-70.dsl.snfc21.pacbell.net [63.206.71.70]) by postal3.es.net (Postal Node 3) with ASMTP (SSL) id KRB01423; Fri, 04 Jan 2008 08:49:23 -0Date: Fri, 04 Jan 2008 08:49:19 -0800 From: John Webster To: Paul Schmehl , FreeBSD Questions Message-ID: In-Reply-To: References: <179863EA8C3D6945412CA598@utd59514.utdallas.edu> <477E58E1.4010509@tundraware.com> X-Mailer: Mulberry/3.1.6 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Sender-IP: 63.206.71.70 X-Sender-Domain: es.net X-Recipent: ; ; ; X-Sender: X-To_Name: Paul Schmehl X-To_Domain: X-To: Paul Schmehl , FreeBSD Questions X-To_Email: X-To_Alias: Date: Fri, 4 Jan 2008 16:49:26 +0000 (UTC) Cc: Subject: Re: Paging Matthew Seaman X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 16:49:26 -0000 --On Friday, January 4, 2008 10:28 AM -0600 Paul Schmehl 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" >