lzmainfo

Show information stored in the .lzma file header

Syntax:

lzmainfo [--help] [--version] [file]...

Runs on:

QNX Neutrino

Options:

--help
Display a help message describing the most commonly used options, and then exit successfully.
--version
Display the version number of the utility, and then exit.
file
The file you want to get the information from, or a hyphen (-) if you want to read from standard input.

Description:

The lzmainfo utility shows information stored in the .lzma file header. It reads the first 13 bytes from the specified file, decodes the header, and prints it to standard output in human-readable format. If no files are given or file is -, standard input is read.

Usually the most interesting information is the uncompressed size and the dictionary size. Uncompressed size can be shown only if the file is in the non-streamed .lzma format variant. The amount of memory required to decompress the file is a few dozen kilobytes plus the dictionary size.

The lzmainfo utility is included in XZ Utils primarily for backward compatibility with LZMA Utils.

Examples:




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/.