SSD

erdtree – multi-threaded file tree and disk usage analyzer

erdtree is a command-line utility that combines filesystem tree visualisation with disk usage analysis. It offers an alternative to both tree and du, presenting directory structures together with information about the files they contain.

The program uses parallel filesystem traversal and provides considerable control over the information displayed. It can report directory sizes, show file metadata, calculate text statistics and present results using several layouts.

One distinctive aspect of erdtree is its awareness of ignore rules. Hidden files and entries excluded through .gitignore are handled automatically unless the user chooses otherwise. This makes the application useful when exploring development projects, where generated files and excluded directories can otherwise make filesystem reports difficult to interpret.

Output can be customised for different tasks, ranging from a compact overview of a directory tree to a more detailed report showing file information and storage consumption.

This is free and open source software.

Key Features

  • Parallel filesystem traversal for analysing directory structures.
  • Display file and directory sizes using apparent or allocated size information.
  • Multiple output layouts, including conventional trees, reversed trees and du-like listings.
  • Configurable sorting by size, name and other attributes.
  • Respect .gitignore rules and hidden-file conventions by default.
  • Search and filter entries using regular expressions and glob patterns.
  • Display file permissions, ownership and other metadata on supported systems.
  • Count words and lines in files as an alternative to measuring storage consumption.
  • Control the maximum depth of directory traversal and output.
  • Show directories only or restrict results to selected file types.
  • Prune empty directories and truncate lengthy output.
  • Colourised output using LS_COLORS, with optional file icons.
  • Customisable behaviour through configuration files.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/solidiquis/erdtree
Support:
Developer: Benjamin Nguyen
License: MIT License

Image of erdtree in action
Click image for full size

erdtree is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

du alternativesProgramming LanguageLicense
dustRustApache License 2.0
dufGoMIT License
DucCGNU Lesser General Public License v3
NcduCGNU GPL v2.0 License
gduGo MIT License
cullGoMIT License
duaRustMIT License
erdtreeRustMIT License
pduRustApache License 2.0
vizexPythonMIT License
goduGo MIT License
dutreeRustGNU General Public License v3
spaceRustMIT License
daryaRustGNU General Public License v3.0
diskusRustMIT License or Apache License 2.0
NoxDirGoMIT License
mcduRustMIT License
dirstat-rsRustMIT License
diskonautRustMIT License
bonsaiC++GNU General Public License v3.0
diskardRustMIT License or Apache License 2.0
cduPerlGNU General Public License v2.0
tduGoGNU General Public License v2
duvizPythonMIT License
dutCGNU General Public License v3.0
whalespotterRustMIT License
snRustBSD 3-Clause “New” or “Revised” License

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted