FOSSPicks
Storage monitor
erdtree
There are many disk usage tools, so it requires something special to pull me out of my du
dependency stupor. I looked at one called Parallel Disk Usage recently, because it was very quick, and erdtree is just as quick and takes a different UI approach. Where Parallel Disk Usage outputs a bar graph showing usage for every directory, erdtree's erd
command will instead collate totals in the same way du
does. It also offers many of the same command-line options as du
, including a human-readable option and long output, so it's a great drop-in replacement – and it does all this while looking much better than du
. The default layout takes inspiration from another perennial command, tree
, with ASCII lines branching off from directories to subdirectories. The number of levels is configurable, as is the wonderful use of color and accompanying icons for every node in the output. The tree view can be inverted, or disabled entirely, and looks fantastic in 256 colors.
But it's the configurability of erdtree that makes such a difference, either from the command-line arguments or from the optional configuration file. It will even parse .gitignore
files when deciding which files and folders to show, a feature not seen outside of Git itself, and if that isn't enough, regular expressions and glob patterns can be used for file and directory searching and matching. There's just as much control over sorting too, from reverse names to alteration dates, and support for storage values with either binary or SI prefixes. All this is done at incredible speed, thanks to configurable multithreading, and you can scale your CPU usage according to the demands of your filesystem. This might be useful if you're streaming or in a video meeting at the same time, for instance, and solves the biggest problem with du
and tree
, which was their lack of speed. Either way, creating an alias from du
to erd
makes a great command-line upgrade.
Project Website
https://github.com/solidiquis/erdtree
![](/var/linux_magazin/storage/images/issues/2023/274/fosspicks/fig892d7f547234b021afdd62bc36e0799f.png/826800-1-eng-US/fig892d7f547234b021afdd62bc36e0799f.png_large.png)
RSS hosting
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.