Convert numeric bytes value from stdin to a human-readable string

pretty-bytes

  • Convert bytes to a human-readable string.
    More information: <https://github.com/sindresorhus/pretty-bytes-cli>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

echo {{1337}} | pretty-bytes

click the source code to copy install pretty-bytes on any operating system with command-not-found.com