Options (3)
-d, --decompressbooleanDecompress a file
Example:
zstd {{[-d|--decompress]}} {{path/to/file.zst}}-c, --stdoutbooleanDecompress to `stdout`
Example:
zstd {{[-d|--decompress]}} {{[-c|--stdout]}} {{path/to/file.zst}}-T, --threadsbooleanSet the number of working threads to the number of physical CPU cores
Example:
zstd {{[-T|--threads]}} 0Examples (7)
Compress a file into a new file with the `.zst` suffix
zstd path/to/fileDecompress a file
zstd [-d|--decompress] path/to/file.zstDecompress to `stdout`
zstd [-d|--decompress] [-c|--stdout] path/to/file.zstCompress a file specifying the compression level, where 1=fastest, 19=slowest, and 3=default
zstd -level path/to/fileCompress a file using an ultra-fast compression level, where 1=default
zstd --fast=level path/to/fileUnlock higher compression levels (up to 22) using more memory (both for compression and decompression)
zstd --ultra -level path/to/fileSet the number of working threads to the number of physical CPU cores
zstd [-T|--threads] 0made by @shridhargupta | data from tldr-pages