1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 05:17:58 +01:00
tldr/pages/common/xz.md
2016-02-01 13:48:59 -05:00

27 lines
396 B
Markdown

# xz
> Compress or decompress .xz and .lzma files.
- Compress a file:
`xz {{file}}`
- Decompress a file:
`xz -d {{file.xz}}`
- Decompress a file and write to stdout:
`xz -dc {{file.xz}}`
- Compress a file, but don't delete the original:
`xz -k {{file}}`
- Compress a file using the fastest compression:
`xz -0 {{file}}`
- Compress a file using the best compression:
`xz -9 {{file}}`