$ disktree product
How it works
Find what’s filling up your drive and delete it, all from the terminal. What disktree does, what it’s built with, and how far along it is.
The premise
A disk usage tool for the terminal, along the lines of WizTree and ncdu. Scan a drive or folder, watch a size-sorted list of every directory fill in as it goes, mark what you don’t need, and send it to the Recycle Bin or delete it for good.
It has two scanners. One walks directories in parallel and works anywhere. The other reads the NTFS master file table directly, which on an elevated NTFS volume gets through the whole drive in one pass. Before anything is deleted, you get a confirmation listing the full path of every item.
What’s included
Parallel directory scanner, plus an NTFS MFT reader that scans a whole volume in one pass
A size-sorted directory view that updates live while the scan runs
Mark multiple items and send them to the Recycle Bin or delete them permanently
Confirmation shows the full path of every item before anything is removed
How it’s built
disktree is built on Rust, NTFS MFT and TUI.
The repository is 100% Rust by volume.
It carries 16 commits since Jul 2026, most recently changed in Jul 2026.
How the work is done
Every project here starts as a written spec, and the spec stays the source of truth once there’s code. The repository keeps a build plan with current status, an append-only decision log of where the code departed from the plan, and a handoff document that describes where things stand, including the unfinished parts.
That’s how one person keeps this many projects moving, and it’s what this page is written from.
Current state
Shipping. Released and usable today.
The source is public, so you can check anything on this page against it.
Next
Install disktree
It’s on crates.io. You’ll need Rust 1.88 or newer.
cargo install disktree
Windows is the main target. The parallel scanner and the TUI also run on Linux and macOS. The fast MFT scan needs an NTFS drive and an elevated terminal on Windows.
Questions, or something it doesn’t do yet? Email dmoore@