mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 18:04:55 +02:00
commit
607d56d0a1
1 changed files with 27 additions and 0 deletions
27
pages/common/xz.md
Normal file
27
pages/common/xz.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue