From owner-freebsd-questions Sat Sep 21 11:30: 6 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 23C2937B401 for ; Sat, 21 Sep 2002 11:30:03 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 444F543E77 for ; Sat, 21 Sep 2002 11:30:03 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g8LIQSiv003361; Sat, 21 Sep 2002 14:26:29 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: How can I get the directory size From: Joe Marcus Clarke To: Jonas Fornander Cc: FreeBSD User Questions List In-Reply-To: <04b001c2619c$44097c60$0800a8c0@master> References: <04b001c2619c$44097c60$0800a8c0@master> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Z738mCWsVW3z/t7Z9ipg" X-Mailer: Ximian Evolution 1.0.8 Date: 21 Sep 2002 14:30:42 -0400 Message-Id: <1032633042.79277.5.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-7.0 required=5.0 tests=IN_REP_TO,PGP_SIGNATURE_2,PGP_SIGNATURE,AWL version=2.31 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 --=-Z738mCWsVW3z/t7Z9ipg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2002-09-21 at 14:25, Jonas Fornander wrote: >=20 > 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. >=20 > 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. # cd ~user # du -sk . This will show you used space in kilobytes. Joe >=20 > Jonas Fornander - System Administrator > Netwood Communications, LLC - www.netwood.net > Find out why we're better - 310-442-1530 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Z738mCWsVW3z/t7Z9ipg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA9jLrSb2iPiv4Uz4cRArjbAJ0bb7vhd70howWKv5Y7HClHuu+vlACaAnpn 9QOpLcf2FbaY9A28uOTM4fg= =+F5C -----END PGP SIGNATURE----- --=-Z738mCWsVW3z/t7Z9ipg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message