diff --git a/pages/common/unzstd.md b/pages/common/unzstd.md index 5770b7f64c..cec9fa7dd7 100644 --- a/pages/common/unzstd.md +++ b/pages/common/unzstd.md @@ -1,16 +1,7 @@ # unzstd -> Decompress files with Zstandard compression. -> More information: . +> 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` diff --git a/pages/common/zstd.md b/pages/common/zstd.md index 4b8d7838f8..4e51ae93de 100644 --- a/pages/common/zstd.md +++ b/pages/common/zstd.md @@ -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: diff --git a/pages/common/zstdcat.md b/pages/common/zstdcat.md new file mode 100644 index 0000000000..3a9d3d5840 --- /dev/null +++ b/pages/common/zstdcat.md @@ -0,0 +1,7 @@ +# zstdcat + +> This command is an alias of `zstd --decompress --stdout`. + +- View documentation for the original command: + +`tldr zstd` diff --git a/pages/common/zstdmt.md b/pages/common/zstdmt.md new file mode 100644 index 0000000000..817f33d1ec --- /dev/null +++ b/pages/common/zstdmt.md @@ -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`