Posted: Sun 03 Oct 2010, 22:43 Post subject:
DUK 0.1 Subject description: 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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum