Compress or decompress XZ and LZMA files. More information: https://manned.org/xz.
xz path/to/file
xz --decompress path/to/file.xz
xz --format=lzma path/to/file
xz --decompress --format=lzma path/to/file.lzma
stdout
(implies --keep
):xz --decompress --stdout path/to/file.xz
xz --keep path/to/file
xz -0 path/to/file
xz -9 path/to/file