DUK 0.1

Filemanagers, partitioning tools, etc.
Post Reply
Message
Author
Lerc
Posts: 4
Joined: Wed 29 Sep 2010, 10:39

DUK 0.1

#1 Post by Lerc »

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.
Attachments
duk-0.1.tar.gz
Duk 0.1
(5.91 KiB) Downloaded 652 times

Post Reply