Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 1998 11:38:39 +0200
From:      Johann Visagie <wjv@cityip.co.za>
To:        "Rustam B. Abdullaev" <rustam@eanetways.com>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Directory size...
Message-ID:  <19980928113839.H22025@cityip.co.za>
In-Reply-To: <360BA7E7.48E41E20@eanetways.com>; from Rustam B. Abdullaev on Fri, Sep 25, 1998 at 07:25:43PM %2B0500
References:  <360BA7E7.48E41E20@eanetways.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Sep 1998 at 19:25 SAT, Rustam B. Abdullaev wrote:
> 
> How can I get the size of all files in directory with all it's
> subdirectories?

Read the man page for du(1).

Example:  To get the sizes of all subdirectories of the current directory,
sorted with the biggest first:

$ du -sk */ | sort -rn

-- V

Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878

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?19980928113839.H22025>