About
dust is a disk usage tool that prints a tree of directories with bar charts of their sizes, sorted largest first. It gives you an instant answer to what is filling a folder, with no navigation. Works well as a one-shot alternative to an interactive browser.
Install it
pkg install dust
Run this inside Termux. If the package is already present, pkg will say so and
do nothing.
Commands worth knowing
6 of the invocations you will actually reach for. Tap the copy button to put one on your clipboard.
dust Print the current directory as a tree of sizes with bars, largest entries first. dust -d 2 Limit the tree to a chosen depth. Output stays short and readable. dust -n 20 Show only the twenty largest items. Noise at the bottom is trimmed. dust /sdcard Measure a specific directory rather than the one you are standing in. dust -s Print only the grand total for the directory, without the per-entry breakdown. dust -X /proc Exclude a directory from the walk. Useful for skipping system trees that report odd sizes. Worked example
Run dust -d 1 and this is what you should see.
$ dust -d 1
3.8G ┌── Download
1.2G ├── DCIM
640M ├── Android
12M └── Documents Developed by
bootandy · released under Apache-2.0.