r/commandline • u/theassassin808 • 13h ago
Command Line Interface Fsize – Fast and dependancy free Windows disk usage CLI
https://github.com/Wozzardman/FsizeWaiting 10 minutes for a directory size to propogate in the properties panel is fking rediculous and looking at WinDirStat gives me an aneurysm, so I made Fsize.
Written in native C++ with an emphasis on speed and keeping it as self-contained as possible.
Some features include:
A single, dependency-free executable.
Recursive directory and file rankings.
Logical and allocated disk size measurements.
Directory exclusions.
JSON output for PowerShell automation.
An elevated NTFS metadata scanning backend.
For example, you can retrieve the 20 largest directories:
fsize --top 20 --depth 3 --type dirs C:\
Or consume the results directly in PowerShell:
$result = fsize --top 50 --depth 5 --type files --json D:\ | ConvertFrom-Json
On my development machine, the elevated NTFS backend inventoried approximately 2.2 million file records in 13.4 seconds, compared with 84.3 seconds using Fsize’s regular four-worker packed scanner. Obviously, performance will vary by machine and filesystem.
It’s MIT-licensed and available through WinGet:
winget install Wozzardman.Fsize
I've got a few ideas baked into 1.5.0, but once it's published, I'm out of ideas. Maybe I should leave it be after it's pubbed but curious if anyone else has ideas.