Created
June 22, 2024 00:48
-
-
Save hyrious/eee789320aeb1ccac7fa574c9a0f2795 to your computer and use it in GitHub Desktop.
Get free disk space, requires Node.js >= 18.15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node -p 'var s=fs.statfsSync(".");s.bsize*s.bavail' | pretty-bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment