pretty-bytes
Convert bytes to a human-readable string. More information: https://github.com/sindresorhus/pretty-bytes-cli.
-
Convert numeric bytes value to a human-readable string:
pretty-bytes {{1337}}
-
Convert numeric bytes value from
stdin
to a human-readable string:
echo {{1337}} | pretty-bytes
-
Display help and usage information:
pretty-bytes --help
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.