How to find total MB of a directory plus all subdirectories

Matthew Miller mattdm at mattdm.org
Tue Mar 6 21:03:08 UTC 2007


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


-- 
Matthew Miller           mattdm at mattdm.org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>




More information about the fedora-list mailing list