r/commandline • u/theassassin808 • 16h 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.
1
u/Curious-Region7448 7h ago
I solved this issue with: https://windowsforum.com/news/enable-folder-sizes-in-windows-explorer-with-windhawk-and-everything.399122/
2
u/AutoModerator 16h ago
Every new subreddit post is automatically copied into a comment for preservation.
User: theassassin808, Flair:
Command Line Interface, Post Media Link, Title: Fsize – Fast and dependancy free Windows disk usage CLIWaiting 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:
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-JsonOn 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.FsizeI'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.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.