Subject: Re: finding size of all files directory
To: mocha <mochaexpress@yahoo.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 05/23/2000 00:15:38
On Tue, 23 May 2000, mocha wrote:
> how do i find the total size of all files starting with a directory node 
> and recursively walk through all of it's child nodes?

I use "du"; for example
  du -ks .netscape/cache
shows that my Netscape cache directories have 31739 KB of files.

I could also use
  BLOCKSIZE=1048576 du -s .netscape/cache/
to report in Megabytes.

Hope this helps,

   Jeremy C. Reed
   http://www.reedmedia.net