New Utility “dutree” Released

dutree - Recursively summarizes disk usageI would like to announce that I have released a new simple command line utility that I call “dutree”. As the name suggests, it’s an alternative to du (a tool for summarizing disk usage), but it displays the results in a tree. This is not a big step up, I know, but I plan to add a column with gauges visually indicating the size of the entries compared to the total. I personally find that a much better presentation for getting a fast impression of the disk space used.

It’s a piece of software I have been missing many times in the past, but I never got around to implementing it. Now I used it as an opportunity for getting acquainted with some of the Boost libraries that I haven’t used a lot before. In particular dutree uses the following Boost libraries: Filesystem, Bind, Function, Lambda, and Iterator. I agree this might be a little overkill for such a small program (dependency wise, not performance), but knowing these very useful libraries makes for more effective development in other projects, so I think it pays off in the end.

This initial release is mainly for people who know how to build stuff themselves. A better build environment is planned for a future release. Click here to download the dutree source code.

One Response to “New Utility “dutree” Released”

  1. dword.dk » Improved “dutree” Released Says:

    [...] of my new utility “dutree”. For an explanation of the purpose of the program, see the previous post. It was still missing an important feature that I wanted, namely gauges displaying the relative [...]

Leave a Reply