On this page you find all important commands for the CLI tool xz. If the
command you are looking for is missing please ask our AI.
xz
XZ is a command-line tool used for compression and decompression of files in Linux and Unix systems. It is based on the LZMA compression algorithm and creates .xz files.
- XZ provides lossless data compression that aims for high compression ratio.
- It uses a powerful method that compresses various data types including text, images, audio, and more.
- The tool offers efficient memory usage and fast compression and decompression speeds.
- XZ supports multi-threading, allowing for parallel compression or decompression of files using multiple CPU cores.
- It supports compressing multiple files or entire directories into a single .xz archive.
- The compression level can be adjusted, with higher levels providing better compression ratios but at the cost of increased processing time.
- XZ supports various options for fine-tuning the compression, such as block sizes, dictionary sizes, and filters.
- The compression format used by XZ is open and documented, allowing for compatibility with other software and platforms.
- XZ provides integrity checking, ensuring that the compressed file can be safely decompressed without errors.
- It is widely used in the Linux ecosystem for compressing distributions, software packages, and large files to save storage space or facilitate faster file transfers.
List of commands for xz:
-
xz:tldr:408b9 xz: Decompress an LZMA file.$ xz -d --format=${lzma} ${file-lzma}try on your machineexplain this command
-
xz:tldr:85e80 xz: Compress a file using the best compression.$ xz -9 ${filename}try on your machineexplain this command
-
xz:tldr:88f34 xz: Compress a file to the LZMA file format.$ xz --format=${lzma} ${filename}try on your machineexplain this command
-
xz:tldr:a1a8e xz: Compress a file to the xz file format.$ xz ${filename}try on your machineexplain this command
-
xz:tldr:ae2e0 xz: Decompress a file and write to `stdout`.$ xz -dc ${file-xz}try on your machineexplain this command
-
xz:tldr:b6c4e xz: Compress a file, but don't delete the original.$ xz -k ${filename}try on your machineexplain this command
-
xz:tldr:d9dd7 xz: Compress a file using the fastest compression.$ xz -0 ${filename}try on your machineexplain this command