The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
 

unxz - Decompress XZ and LZMA Files 




The unxz command is used to decompress files compressed with the xz format ".xz" or the lzma format ".lzma". Its functionality is equivalent to running xz -d.

The basic syntax for the unxz command is as follows:
unxz [OPTIONS] FILE .

Common options for the unxz command include:

For example, to decompress all .xz and .lzma files in the current working directory:
$ unxz *

This command will decompress all files with either the ".xz" or ".lzma" extension in the current directory.

For more unxz examples and options, you can refer to the provided link.