From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 16:28:25 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 4A07916A41B for ; Fri, 4 Jan 2008 16:28:25 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp3.utdallas.edu (smtp3.utdallas.edu [129.110.10.49]) by mx1.freebsd.org (Postfix) with ESMTP id 25E6F13C447 for ; Fri, 4 Jan 2008 16:28:24 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTP id 9DB3365503 for ; Fri, 4 Jan 2008 10:28:24 -0600 (CST) Date: Fri, 04 Jan 2008 10:28:24 -0600 From: Paul Schmehl To: FreeBSD Questions Message-ID: In-Reply-To: <477E58E1.4010509@tundraware.com> References: <179863EA8C3D6945412CA598@utd59514.utdallas.edu> <477E58E1.4010509@tundraware.com> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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:28:25 -0000 --On Friday, January 04, 2008 10:03:45 -0600 Tim Daneliuk wrote: > Paul Schmehl wrote: >> I figure if anyone knows the answer to this off the top of their head, >> Matthew will. >> >> I've been reading the man pages for du and df, but I can't find the >> right combination. I'd like to get the type of output that df -h gives >> you but only for one mount point or even one directory. Is there a tool >> that can do that? (IOW, I'd like to run du -h but only get the totals >> for directories.) >> > > 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. -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/