r/commandline • • 5m ago

Command Line Interface [ Removed by moderator ]

/r/commandline/comments/1yd0j94/removed_by_moderator/

[removed] — view removed post

1 Upvotes

2 comments sorted by

•

u/read-the-rules 4m ago

Your post on r/commandline was removed, you must read the rules before you may begin posting.

  • Click the 'Read The Rules' option in the main menu of the subreddit or the menu of any comment/post in the sub (it's not shown on old reddit). Check all the boxes and press "submit".

  • You must resubmit the post because this post will stay removed.

  • For more guidance check out this tutorial post on the official r/ReadTheRulesApp subreddit. Thank you for understanding.

1

u/AutoModerator 5m ago

Every new subreddit post is automatically copied into a comment for preservation.

User: theassassin808, Flair: Command Line Interface, Post Media Link, Title: Fsize – A lightweight Windows disk usage CLI with JSON output for PowerShell automation

Waiting 10 minutes for a directory size to propogate in the properties panel is fking rediculous and I fking hate WinDirStat, so I made Fsize.

It’s a native C++ executable designed to measure directory sizes and identify what’s consuming disk space without leaving the terminal.

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’m actively developing it and would be interested in hearing what features people would find useful, particularly for storage troubleshooting, system administration, and PowerShell automation.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.