# LZMAINFO - show information stored in the .lzma file header - man(1) - [phpMan]

[_LZMAINFO_(1)](https://www.chedong.com/phpMan.php/man/LZMAINFO/1/markdown)                                   XZ Utils                                   [_LZMAINFO_(1)](https://www.chedong.com/phpMan.php/man/LZMAINFO/1/markdown)

## NAME
       lzmainfo - show information stored in the .lzma file header

## SYNOPSIS
       **lzmainfo **[**--help**] [**--version**] [_file..._]

## DESCRIPTION
       **lzmainfo **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  dic‐
       tionary size.

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

## EXIT STATUS
       **0      **All is good.

       **1      **An error occurred.

## BUGS
       **lzmainfo  **uses  **MB  **while  the correct suffix would be **MiB **(2^20 bytes).  This is to keep the
       output compatible with LZMA Utils.

## SEE ALSO
       [**xz**(1)](https://www.chedong.com/phpMan.php/man/xz/1/markdown)

Tukaani                                      2013-06-30                                  [_LZMAINFO_(1)](https://www.chedong.com/phpMan.php/man/LZMAINFO/1/markdown)
