tdu is a text-terminal program that displays disk space utilization in an interactive full-screen folding outline. Branches of the tree may be hidden or displayed, and files/directories in a branch can be sorted by filename or total space utilized.
tdu uses the ncurses library to interact with the terminal; unlike most disk usage visualization programs, it does not require the X Window System. It is therefore ideal in situations where you're logged in to a remote Unix system and for various reasons you do not wish to run an X program such as xdu remotely or copy the output of du over the network.
Like the classic xdu utility, tdu does not traverse a directory tree computing disk usage itself; it requires a program such as du to provide that information. This keeps the tdu code small.
dugroup is a companion utility program whose primary purpose is to group the output of `du -a` by filename extension. This functionality was once built into tdu.
To compile and install tdu, you will need the following:
To install dugroup, you will need the following:
The two source code archives listed above contain files named INSTALL. Read them.
If you want a complete list of options and keybindings, see the tdu(1) and dugroup(1) manpages.
tdu is intended to be small, having as few features as possible.
If you want something more graphical, something for Windows, or just want a different program, here's a list of them.
vtclock, a text-mode full-screen digital clock
Copyright © 2004–2008 Darren Stuart Embry.
You may distribute and/or modify this program under the terms of the GNU General Public License version 2.