From owner-freebsd-questions Sat Sep 21 23: 3:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E998637B401 for ; Sat, 21 Sep 2002 23:03:38 -0700 (PDT) Received: from hotmail.com (oe57.pav2.hotmail.com [64.4.36.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id A85E843E3B for ; Sat, 21 Sep 2002 23:03:38 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 21 Sep 2002 23:03:38 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Jonas Fornander" , References: <04b001c2619c$44097c60$0800a8c0@master> Subject: Re: How can I get the directory size Date: Sat, 21 Sep 2002 23:32:29 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 22 Sep 2002 06:03:38.0587 (UTC) FILETIME=[CB56AAB0:01C261FD] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG du -sL Will give the size of the directory including the symbolic links in the directory. . ----- Original Message ----- From: "Jonas Fornander" To: Sent: Saturday, September 21, 2002 11:55 PM Subject: How can I get the directory size > > Is there a way to figure out the size of a users directory? > I tried all combinations of ls with the flags -s and -k but to no avail. > > I know that I can tar the users directory and then check the size of the > tarball but that can't be the only way of doing it. > > Jonas Fornander - System Administrator > Netwood Communications, LLC - www.netwood.net > Find out why we're better - 310-442-1530 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message