pyDirStat is a small tool to view statistical information about a directory. It will generate a view of all files contained in a directory (and subdirectories) with rectangles. Each rectangle area is proportional to file size. It's a perfect tool to view disk usage with graphics.
pydirstat is under GPL.
pydirstat is hosted on berlios servers.
pydirstat has a project page.
As a python software, in runs anywhere python runs (I hope so...).
Windows users should use the .exe that will install pydirstat on the right click of folders.
Every other users should use the .tar.gz.
You'll find both on the download page.
You can generate either HTML, SVG or SWF (Flash) with pydirstat.
Note that you'll need ming for python to generate SWF.
HTML page of the result of pydirstat. The cursor is over the "red" square. You can see that the file dl645mi.dll takes about 3MB.
HTML page of the result of pydirstat. The cursor is over the "red" square. You can see that the file necko.dll takes about 577kB. You can see also that the wool dir components is about the same size that the last file dl645mi.dll.
HTML page of the result of pydirstat. The cursor is over the "red" square. The file space2.wav is sound file. It's color is yellow, while dll files are ugly-pink. It's file type has it's own color.
HTML page of the result of pydirstat. The cursor is over the "red" square. It's easy to find big files. It's also easy to compare the size of the file with a dir several small files like "dark-blue" ones.
You can now configure pydirstat. pds-config.py is provided to help creating configuration file. It will ask few questions, and will write configuration file.
In the configuration file, you will be able to change color associations.
First find the configuration file by launching pds-config.py and answering questions. At the end, the configuration filename will be prompted.
You'll find a section options containing your answers. And then you'll find several type:... sections. Those sections define the "type" associated to each file. A type is just a string like 'image' or 'sound'. Then there is the section color that define the color associated to a file type.
There is four type: section.
Note for windows users: If this is too complex, just edit the type:extensionlower and the color sections.
Note for unix users: If this is too complex, just edit the type:extension and the color sections.