xzdec, lzmadec

Small .xz and .lzma decompressors

Syntax:

xzdec [option]...  [file]...
lzmadec [option]...  [file]...

Runs on:

QNX Neutrino, Microsoft Windows

Options:

-d, --decompress, --uncompress
Ignored for xz compatibility. The xzdec utility supports only decompression.
-k, --keep
Ignored for xz compatibility. The xzdec utility never creates or removes any files.
-c, --stdout, --to-stdout
Ignored for xz compatibility. The xzdec utility always writes the decompressed data to standard output.
-q, --quiet
Specifying this once does nothing since xzdec never displays any warnings or notices. Specify this twice to suppress errors.
-Q, --no-warn
Ignored for xz compatibility. The xzdec utility never uses the exit status 2.
-h, --help
Display a help message and exit successfully.
-V, --version
Display the version number of xzdec and liblzma.

Description:

The xzdec utility is a liblzma-based decompression-only tool for .xz (and only .xz) files. This utility is intended to work as a drop-in replacement for xz in the most common situations where a script has been written to use xz --decompress --stdout (and possibly a few other commonly used options) to decompress .xz files. The lzmadec utility is identical to xzdec except that lzmadec supports .lzma files instead of .xz files.

To reduce the size of the executable, xzdec doesn't support multithreading or localization, and doesn't read options from the XZ_DEFAULTS and XZ_OPT environment variables. The xzdec utility doesn't support displaying intermediate progress information: sending SIGINFO to xzdec does nothing, but sending SIGUSR1 terminates the process instead of displaying progress information.

Use xz instead of xzdec or lzmadec for normal everyday use. The xzdec and lzmadec utilities are meant only for situations where it's important to have a smaller decompressor than the full-featured xz.

Exit status:

0
Successful completion.
>0
An error occurred.

Contributing author:

The XZ Utils were developed and are maintained by Lasse Collin; see http://tukaani.org/.