How to retrieve Directories size including all sub-directories?
Posted
by vikingosegundo
on Stack Overflow
See other posts from Stack Overflow
or by vikingosegundo
Published on 2010-04-04T12:44:45Z
Indexed on
2010/04/04
12:53 UTC
Read the original article
Hit count: 308
I have stored images from the net like this
Documents/imagecache/domain1/original/path/inURI/foo.png
Documents/imagecache/domain2/original/path/inURI/bar.png
Documents/imagecache/...
Documents/imagecache/...
Now I'd like to check the size of imagecache
including all it sub-directories.
Is there a convenient way of doing it — preferable without crawling through all the data manually?
© Stack Overflow or respective owner