How to find total MB of a directory plus all subdirectories

Marcelo Magno T. Sales marcelo.sales at sefaz.pe.gov.br
Thu Mar 8 12:00:05 UTC 2007


Em Ter 06 Mar 2007, Nigel Henry escreveu:
> On Tuesday 06 March 2007 22:03, Matthew Miller wrote:
> > On Tue, Mar 06, 2007 at 10:01:38PM +0100, Nigel Henry wrote:
> > > This is a silly question perhaps. I have my soundfiles in a directory
> > > named Sounds Library, this contains many subdirectories, which contain
> > > the .wav files.
> > > What command can I use to find out the disk space this directory is
> > > taking up, including all the files that are in the subdirectories?
> >
> > du -sh /your/directory

Also, if you're looking for a GUI solution, have you looked at the "file size 
view" view mode in Konqueror? It's very useful when you're trying to find out 
what's eating away your disk space.

[]'s
Marcelo




More information about the fedora-list mailing list