Posted: Sun 03 Oct 2010, 22:43 Post_subject:
DUK 0.1 Sub_title: html directory treemap generator.
This is a quick little hack that I put together to generate a html page with a TreeMap view of a directory.
It uses du and awk to generate a JSON for webtreemap.
It can be used several ways.
It has executable scripts
duk <directoryname> outputs the html page to stdout
browserduk <directoryname> opens a browser window showing the map
chromeduk <directoryname> opens google-chrome in App mode (no navigation controls).
It also is configured to act as a Rox application, so you can just drop a folder onto the duk icon and it will run browserduk on the folder automatically.
So, assuming you have a browser, du, awk, (plus cat and tac), which any good linux system should have. This will get you a halfway decent treeview for an extra 6k(compressed) diskspace.