xz*: update pages (#10192)

* xz*: update pages

* xz: make placeholders consistent
This commit is contained in:
Lena
2023-07-16 08:00:03 +02:00
committed by GitHub
parent d519410190
commit 48047a58c9
5 changed files with 24 additions and 27 deletions

View File

@@ -1,31 +1,31 @@
# xz
> Compress or decompress .xz and .lzma files.
> More information: <https://tukaani.org/xz/format.html>.
> Compress or decompress `.xz` and `.lzma` files.
> More information: <https://manned.org/xz>.
- Compress a file to the xz file format:
- Compress a file using xz:
`xz {{path/to/file}}`
- Decompress a xz file:
- Decompress an xz file:
`xz -d {{file.xz}}`
`xz --decompress {{path/to/file.xz}}`
- Compress a file to the LZMA file format:
- Compress a file using lzma:
`xz --format={{lzma}} {{path/to/file}}`
- Decompress an LZMA file:
- Decompress an lzma file:
`xz -d --format={{lzma}} {{file.lzma}}`
`xz --decompress --format={{lzma}} {{path/to/file.lzma}}`
- Decompress a file and write to `stdout`:
- Decompress a file and write to `stdout` (implies `--keep`):
`xz -dc {{file.xz}}`
`xz --decompress --stdout {{path/to/file.xz}}`
- Compress a file, but don't delete the original:
`xz -k {{path/to/file}}`
`xz --keep {{path/to/file}}`
- Compress a file using the fastest compression: