I would like to display all directories found on my site and the total file space used in each directory. Is there an easy way to do that? The more I think about the logic looping through multiple sub-levels of directories, I get dizzy! :)
Output would look similar to:
/ 1234
/cgi-bin 534
/data 55337
/data/stats 227
and so on. The root directory may change, so the top-level directory needs to be a variable.
Thanks again for any guidance anyone may offer.
Output would look similar to:
/ 1234
/cgi-bin 534
/data 55337
/data/stats 227
and so on. The root directory may change, so the top-level directory needs to be a variable.
Thanks again for any guidance anyone may offer.