zstd, unzstd: update page; zstd{cat,mt}: add alias page (#10683)

pull/23/head
Lena 2023-09-07 07:06:05 +02:00 committed by GitHub
parent 8593ef9c64
commit 28d7f4332e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 14 deletions

View File

@ -1,16 +1,7 @@
# unzstd
> Decompress files with Zstandard compression.
> More information: <https://github.com/facebook/zstd>.
> This command is an alias of `zstd --decompress`.
- Decompress files:
- View documentation for the original command:
`unzstd {{path/to/file1.ztd path/to/file2.ztd ...}}`
- Decompress a file into a specific output file:
`unzstd {{path/to/compressed.ztd}} -o {{path/to/extracted_file}}`
- Display information about a compressed file:
`unzip --list {{path/to/file.zst}}`
`tldr zstd`

View File

@ -9,11 +9,11 @@
- Decompress a file:
`zstd -d {{path/to/file}}.zst`
`zstd --decompress {{path/to/file.zst}}`
- Decompress to `stdout`:
`zstd -dc {{path/to/file}}.zst`
`zstd --decompress --stdout {{path/to/file.zst}}`
- Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default:

7
pages/common/zstdcat.md Normal file
View File

@ -0,0 +1,7 @@
# zstdcat
> This command is an alias of `zstd --decompress --stdout`.
- View documentation for the original command:
`tldr zstd`

7
pages/common/zstdmt.md Normal file
View File

@ -0,0 +1,7 @@
# zstdmt
> This command is an alias of `zstd --threads 0` (which sets the number of working threads to the number of physical CPU cores).
- View documentation for the original command:
`tldr zstd`