zstd
Compress or decompress files with Zstandard compression. tldr-pages
On several platforms
Several platforms
Compress a file into a new file with the .zst suffix
zstd path/to/fileIdentifyDecompress a file
zstd --decompress path/to/file.zstIdentifyDecompress to stdout
zstd --decompress --stdout path/to/file.zstIdentifyCompress a file specifying the compression level, where 1=fastest, 19=slowest, and 3=default
zstd -1..19 path/to/fileIdentifyCompress a file using an ultra-fast compression level, where 1=default
zstd --fast=1..131072 path/to/fileIdentifyUnlock higher compression levels (up to 22) using more memory (both for compression and decompression)
zstd --ultra -1..22 path/to/fileIdentifySet the number of working threads to the number of physical CPU cores
zstd --threads 0Identify