I wrote a little Scheme script to recursively traverse directories and find out how “big” they are.
[Lyra] mcj4 > dir-size analysis/ 1240389 files, 8252 directories 30GB 472MB 596KB [Lyra] mcj4 > dir-size Music/ 1918 files, 635 directories 10GB 243MB 469KB [Lyra] mcj4 > dir-size docs/ 56065 files, 2683 directories 7GB 505MB 570KB [Lyra] mcj4 > dir-size Pictures 4211 files, 269 directories 3GB 262MB 312KB
My analysis directory contains the data from my dissertation, the code that manipulates that data, and the output from that code. 30 gigabytes of data. Over 1.2 million files!. The documents directory contains my writing, programming, and other projects; there is not much in the way of “media” there; it’s almost entirely text, PDFs, and the like. Well, clearly, there must be a lot of something in there.
It’s interesting to get a sense for where the 80GB of space on my Powerbook has gone… clearly, my dissertation is to blame.