du -sL <directoryname>
Will give the size of the directory including the symbolic links in the
directory.
.
----- Original Message -----
From: "Jonas Fornander" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to