Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 23:32:29 +0530
From:      "Unix Tools" <unixtools@hotmail.com>
To:        "Jonas Fornander" <jonas@netwood.net>, <freebsd-questions@freebsd.org>
Subject:   Re: How can I get the directory size
Message-ID:  <OE576G4T1VdMtyYZMqD000063c9@hotmail.com>
References:  <04b001c2619c$44097c60$0800a8c0@master>

next in thread | previous in thread | raw e-mail | index | archive | help
du -sL <directoryname>
Will give the size of the directory including the symbolic links in the
directory.
.
----- Original Message -----
From: "Jonas Fornander" <jonas@netwood.net>
To: <freebsd-questions@freebsd.org>
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




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