The power of a DU analyzer written in C with multi-thread scanning, combined with the flexibility of a TUI interface to navigate where it matters most.
While others are reading the disk, fastdu has already mapped it.
Leverage every core of your CPU with a deep work queue and optimized worker threads.
On-disk persistent cache with 64 independent locks. Instant loading even for datasets with millions of files.
Create a baseline and monitor how disk space changes over time. Visualize increases and decreases in real-time.
Beyond analysis: deep exploration and intelligent management.
Explore inside .zip, .tar, .7z, and .iso files as if they were directories, powered by libarchive.
Identify identical files using multi-stage hashing (Size -> Header -> Byte-by-byte) and recover valuable space.
Instantly switch to Tree View mode for an immediate hierarchical understanding of your file structure.
Native image previews via Kitty Graphics Protocol or Chafa, preserving the original aspect ratio.
Visual icons for every file type and customizable themes (Dracula, Tokyo Night, Pastel) via TOML config.
Written in C11 for maximum performance and portability. Free from bloatware, telemetry, and heavy dependencies.
Essential commands to dominate your data directly from your keyboard.
Configure the scanning engine and export features at launch.
| Flag | Description & Implementation |
|---|---|
-nf, --nerd-fonts |
Enable graphical icons for files and directories (requires a Nerd Font). |
-R, --reload |
Force a full rescan, ignoring the existing on-disk cache. |
-ac, --accuracy |
Calculation based on allocated blocks (st_blocks) for pinpoint accuracy. |
-x, --one-file-system |
Stay on the same file system (do not cross mount points). |
-e, --exclude PAT |
Exclude files or paths matching the pattern PAT from the scan. |
-j, --jobs N |
Set the number of parallel threads (default: CPU core count). |
--diff FILE |
Start an immediate comparison between the current state and a previous cache snapshot. |
--export FMT OUT |
Export data (json or csv) to OUT file and exit without opening the TUI. |
-D, --decorative |
Enable extra UI elements like column headers and vertical separators. |
Available on GitHub as an Open Source project.
# Debian/Ubuntu
sudo apt install libarchive-dev chafa libncursesw5-dev gcc make
git clone https://github.com/anidisc/fastdu.git && cd fastdu
make -j$(nproc)
./fastdu /your/path