Skip site navigation (1)Skip section navigation (2)
Date:      21 Sep 2002 14:30:42 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jonas Fornander <jonas@netwood.net>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: How can I get the directory size
Message-ID:  <1032633042.79277.5.camel@shumai.marcuscom.com>
In-Reply-To: <04b001c2619c$44097c60$0800a8c0@master>
References:  <04b001c2619c$44097c60$0800a8c0@master>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032633042.79277.5.camel>