On Sun, Mar 11, 2001 at 01:43:46PM -0400, Renaud OLGIATI wrote:
> I've been trying to find a way to get, for each sub-directory of a given 
> directory, the total amount of disk-space used up by that sub-directory and 
> all its sub-sub-directories.
> 
> Is there a way to do this with du ,
> 
> Or any other way ?
 
Hmm, there are probably easier ways to do this, but this should get you 
started : go to a random dir and type 'du >> filexyz.txt'. 

Edit this textfile to get the requested numbers. After giving you the size 
of each subdir in a subdir, it eventually gives you the entire size of that 
subdir with its own subdirs.

I hope this will help you,
Mathias

Reply via email to