mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 22:50:52 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# zstd
|
||||
|
||||
> Compress or decompress files with Zstandard compression.
|
||||
> More information: <https://github.com/facebook/zstd>.
|
||||
> More information: <https://manned.org/zstd>.
|
||||
|
||||
- Compress a file into a new file with the `.zst` suffix:
|
||||
|
||||
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Decompress a file:
|
||||
|
||||
`zstd --decompress {{path/to/file.zst}}`
|
||||
`zstd {{[-d|--decompress]}} {{path/to/file.zst}}`
|
||||
|
||||
- Decompress to `stdout`:
|
||||
|
||||
`zstd --decompress --stdout {{path/to/file.zst}}`
|
||||
`zstd {{[-d|--decompress]}} {{[-c|--stdout]}} {{path/to/file.zst}}`
|
||||
|
||||
- Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user