Calculating the size of a directory
6th Sep 2005, 04:05 GMT
Vincent recently brought up a seemingly simple subject - calculating the size of a directory. I mean, you just recurse into the directory, adding up all the file sizes as you go, right?Wrong. Especially on Windows.I'd go over all the problems with this approach, but Raymond Chen has summarized them so well here that I'll just let you read that...
Latest news from Artima Developer Buzz:
- Just say no to DynaBeans
- Arduino, an open-source platform
- hoe 1.1.4 Released
- I think I was depressed.
- Favouring composition over inheritance is a sign of a maturing programmer
- What's the point?
- Sun to Open-Source Java Under GPL
- Am I wrong Sun Going GPL?
- Smalltalk Daily: 11/13/06
- Sun is releasing Java under the Gnu General Public License (GPL) today.