Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default

zstd

  • Compress or decompress files with Zstandard compression.
    More information: <https://github.com/facebook/zstd>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

zstd -{{level}} {{file}}

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