xz: add lzma format examples (#2908)
This commit is contained in:

committed by
Lucas Gabriel Schneider

parent
9a16e012cc
commit
6fe385b344
@@ -1,15 +1,24 @@
|
|||||||
# xz
|
# xz
|
||||||
|
|
||||||
> Compress or decompress .xz and .lzma files.
|
> Compress or decompress .xz and .lzma files.
|
||||||
|
> Homepage: <https://tukaani.org/xz/format.html>.
|
||||||
|
|
||||||
- Compress a file:
|
- Compress a file to the xz file format:
|
||||||
|
|
||||||
`xz {{file}}`
|
`xz {{file}}`
|
||||||
|
|
||||||
- Decompress a file:
|
- Decompress a xz file:
|
||||||
|
|
||||||
`xz -d {{file.xz}}`
|
`xz -d {{file.xz}}`
|
||||||
|
|
||||||
|
- Compress a file to the lzma file format:
|
||||||
|
|
||||||
|
`xz --format=lzma {{file}}`
|
||||||
|
|
||||||
|
- Decompress an lzma file:
|
||||||
|
|
||||||
|
`xz -d --format=lzma {{file.lzma}}`
|
||||||
|
|
||||||
- Decompress a file and write to stdout:
|
- Decompress a file and write to stdout:
|
||||||
|
|
||||||
`xz -dc {{file.xz}}`
|
`xz -dc {{file.xz}}`
|
||||||
|
Reference in New Issue
Block a user