mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 15:01:35 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/xz
10
tldr/xz
@@ -14,23 +14,23 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Decompress an XZ file:
|
||||
|
||||
`xz --decompress {{path/to/file.xz}}`
|
||||
`xz {{[-d|--decompress]}} {{path/to/file.xz}}`
|
||||
|
||||
- Compress a file using lzma:
|
||||
|
||||
`xz --format=lzma {{path/to/file}}`
|
||||
`xz {{[-F|--format]}} lzma {{path/to/file}}`
|
||||
|
||||
- Decompress an LZMA file:
|
||||
|
||||
`xz --decompress --format=lzma {{path/to/file.lzma}}`
|
||||
`xz {{[-d|--decompress]}} {{[-F|--format]}} lzma {{path/to/file.lzma}}`
|
||||
|
||||
- Decompress a file and write to `stdout` (implies `--keep`):
|
||||
|
||||
`xz --decompress --stdout {{path/to/file.xz}}`
|
||||
`xz {{[-d|--decompress]}} {{[-c|--stdout]}} {{path/to/file.xz}}`
|
||||
|
||||
- Compress a file, but don't delete the original:
|
||||
|
||||
`xz --keep {{path/to/file}}`
|
||||
`xz {{[-k|--keep]}} {{path/to/file}}`
|
||||
|
||||
- Compress a file using the fastest compression:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user