From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 16:44:59 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 E0ACF16A417 for ; Fri, 4 Jan 2008 16:44:59 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from mtai03.charter.net (mtai03.charter.net [209.225.8.183]) by mx1.freebsd.org (Postfix) with ESMTP id 863B713C465 for ; Fri, 4 Jan 2008 16:44:59 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from aarprv06.charter.net ([10.20.200.76]) by mtai03.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080104164453.QUNO18033.mtai03.charter.net@aarprv06.charter.net>; Fri, 4 Jan 2008 11:44:53 -0500 Received: from agreenftp.no-ip.com ([75.137.120.205]) by aarprv06.charter.net with ESMTP id <20080104164453.PZDJ14098.aarprv06.charter.net@agreenftp.no-ip.com>; Fri, 4 Jan 2008 11:44:53 -0500 Received: from localhost (localhost [127.0.0.1]) by agreenftp.no-ip.com (Postfix) with ESMTP id 44D193985E; Fri, 4 Jan 2008 11:44:53 -0500 (EST) Received: from agreenftp.no-ip.com ([127.0.0.1]) by localhost (zeus.agreenftp.no-ip.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYgavQhPV3ih; Fri, 4 Jan 2008 11:44:50 -0500 (EST) Received: from hercules.nuvox.net (216.215.202.5.nw.nuvox.net [216.215.202.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: andy) by agreenftp.no-ip.com (Postfix) with ESMTPSA id BDE073985C; Fri, 4 Jan 2008 11:44:49 -0500 (EST) X-Virus-Scanned: amavisd-new at agreenftp.no-ip.com Message-ID: <477E6286.7020007@gmail.com> Date: Fri, 04 Jan 2008 11:44:54 -0500 From: Andy Greenwood User-Agent: Thunderbird 2.0.0.6 (X11/20071101) MIME-Version: 1.0 To: Paul Schmehl References: <179863EA8C3D6945412CA598@utd59514.utdallas.edu> <477E58E1.4010509@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: FreeBSD Questions 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:45:00 -0000 Paul Schmehl wrote: > --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. > what about "find . -type d | xargs du -h" Not exactly one command, but you could easily alias it.