bonsize allows you to quickly analyze and display the size of directories and files in a tree structure, making it easy to identify which files and folders are taking up the most disk space. It comes with both a fast Command-Line Interface (CLI) and an interactive Graphical User Interface (GUI).
The bonsize-gui application provides an interactive, visual way to explore your disk space usage.
interface with a directory tree, folders, files, and their respective sizes visually represented
You can launch the GUI directly from your desktop application launcher or by running the following command in your terminal:
bonsize-gui
bonsize [OPTIONS] [PATH]
[PATH]- The directory path to analyze (default: current directory.)
-F, --file- Show files in the output-D, --directory- Show only directories-d, --depth <MAX_DEPTH>- Maximum depth to traverse-s, --sorted [<SORT>]- Sort output (possible values:asc,desc)--csv [<CSV>]- Export results to CSV format-c, --cache- Use caching for improved performance-q, --quiet- Suppress non-essential output-l, --logical-size- Show logical size instead of physical size-h, --help- Print help information-V, --version- Print version information
$ bonsize /folder π - folder 109.15MB π - folder/videos 104.79MB π - folder/videos/2026 87.19MB π - folder/videos/2026/vacation_2026_02.mp4 87.19MB π - folder/videos/2025 17.60MB π - folder/videos/2025/Replay_2026εΉ΄03ζ12ζ₯_20-05-46.mp4 17.60MB π - folder/turtle pictures 4.36MB π - folder/turtle pictures/image_2.png 4.32MB π - folder/turtle pictures/image_1.jpg 40.00KB π - folder/letter.txt 4.00KB
# Show only directories, sorted by size $ bonsize -D -s desc # Limit depth and use cache $ bonsize -d 3 -c
All releases are available on the releases section
Download the .deb package and install it:
sudo dpkg -i bonsize_*-CLI.debFor the moment, on other distros you can use the tar.gz
soon
Download the .deb package and install it:
sudo dpkg -i bonsize_*-GUI.debchmod +x bonsize_*-GUI.AppImage ./bonsize_*-GUI.AppImage
This project is licensed under the WTFPL, see the license file for more details.