1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/zstd.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

24 lines
562 B
Markdown

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