zstd
Compress or decompress files with Zstandard compression. More information: https://github.com/facebook/zstd.
-
Compress a file into a new file with the
.zstsuffix:
zstd {{path/to/file}} -
Decompress a file:
zstd --decompress {{path/to/file.zst}} -
Decompress to
stdout:
zstd --decompress --stdout {{path/to/file.zst}} -
Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default:
zstd -{{level}} {{path/to/file}} -
Unlock higher compression levels (up to 22) using more memory (both for compression and decompression):
zstd --ultra -{{level}} {{path/to/file}}
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.