[plug] Console command to get size of a dir

Richard wpickett at iprimus.com.au
Mon Apr 22 08:23:47 WST 2002


On Monday 22 April 2002 8:04 am, Russell Keith-Magee wrote:
> > I feel a bit silly asking this, but I can't find a command that
> > gives me the
> > total size of a directory (including of all files/sub dir's),
> > could anyone
> > help?
>
> Try du (disk usage).
>
> e.g., du -h will give the "human readable" size of all directories; the
> very last line it prints yields the total space taken up by the current
> directory, and all subdirs.
>
> Russ %-)
>
> ********************************************
> Russell Keith-Magee
> Software Engineer
> Calytrix Technologies
> Unit 9, EIR Building, Technology Park
> PO Box 1173, BENTLEY 6982, Western Australia
>
> Tel: +61 8 9362 5300
> Fax: +61 8 9362 5400
> Mobile: 0408 928 379

Works a treat! Many thanks :)



More information about the plug mailing list