mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 19:05:59 +02:00
zstd: add page (#2646)
This commit is contained in:
parent
ce9ed0bdbd
commit
1620d8fb8e
1 changed files with 23 additions and 0 deletions
23
pages/common/zstd.md
Normal file
23
pages/common/zstd.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# zstd
|
||||
|
||||
> Compress or decompress files with Zstandard compression.
|
||||
|
||||
- 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, while specifing the compression level. 0 = Worst, 19 = Best (Default level is 3):
|
||||
|
||||
`zstd -{{level}} {{file}}`
|
||||
|
||||
- Use more memory (both when compressing and decompressing) to achieve a higher compression ratio:
|
||||
|
||||
`zstd --ultra -{{level}} {{file}}`
|
Loading…
Add table
Reference in a new issue