xz do?compress or decompress files with the LZMA2 algorithm (.xz).
▸ Explain your own xz command →$ xz -9 big.log
$ xz -dk archive.xz
$ xz -T0 data.tar
| -0 | use the fastest compression level (largest) |
| -9 | use the maximum compression level (slowest, smallest) |
| -z | compress (the default action) |
| -d | decompress |
| -k | keep — don't delete the input file after (de)compressing |
| -f | force overwrite of the output and (de)compress even unusual files |
| -c | write to standard output; leave files unchanged |
| -l | list information about the compressed .xz file |
| -t | test the integrity of the compressed file |
| -e | use extra effort for a slightly smaller file |
| -T | use this many worker threads (0 = one per CPU) |
| -v | verbose — show progress and stats |
| --threads | use this many worker threads (0 = one per CPU) |
| --keep | keep — don't delete the input file |
| --decompress | decompress |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.