xz: add page

waldyrious/alt-syntax
Hayden Schiff 2016-01-28 15:42:05 -05:00
parent f38c34f484
commit c2a39d42c2
1 changed files with 23 additions and 0 deletions

23
pages/common/xz.md Normal file
View File

@ -0,0 +1,23 @@
# 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 and attempt to improve compression ratio by using more CPU time:
`xz -e {{file}}`