jpayne@68: .\" SPDX-License-Identifier: 0BSD jpayne@68: .\" jpayne@68: .\" Author: Lasse Collin jpayne@68: .\" jpayne@68: .TH LZMAINFO 1 "2013-06-30" "Tukaani" "XZ Utils" jpayne@68: .SH NAME jpayne@68: lzmainfo \- show information stored in the .lzma file header jpayne@68: .SH SYNOPSIS jpayne@68: .B lzmainfo jpayne@68: .RB [ \-\-help ] jpayne@68: .RB [ \-\-version ] jpayne@68: .RI [ file... ] jpayne@68: .SH DESCRIPTION jpayne@68: .B lzmainfo jpayne@68: shows information stored in the jpayne@68: .B .lzma jpayne@68: file header. jpayne@68: It reads the first 13 bytes from the specified jpayne@68: .IR file , jpayne@68: decodes the header, and prints it to standard output in human jpayne@68: readable format. jpayne@68: If no jpayne@68: .I files jpayne@68: are given or jpayne@68: .I file jpayne@68: is jpayne@68: .BR \- , jpayne@68: standard input is read. jpayne@68: .PP jpayne@68: Usually the most interesting information is jpayne@68: the uncompressed size and the dictionary size. jpayne@68: Uncompressed size can be shown only if jpayne@68: the file is in the non-streamed jpayne@68: .B .lzma jpayne@68: format variant. jpayne@68: The amount of memory required to decompress the file is jpayne@68: a few dozen kilobytes plus the dictionary size. jpayne@68: .PP jpayne@68: .B lzmainfo jpayne@68: is included in XZ Utils primarily for jpayne@68: backward compatibility with LZMA Utils. jpayne@68: .SH "EXIT STATUS" jpayne@68: .TP jpayne@68: .B 0 jpayne@68: All is good. jpayne@68: .TP jpayne@68: .B 1 jpayne@68: An error occurred. jpayne@68: .SH BUGS jpayne@68: .B lzmainfo jpayne@68: uses jpayne@68: .B MB jpayne@68: while the correct suffix would be jpayne@68: .B MiB jpayne@68: (2^20 bytes). jpayne@68: This is to keep the output compatible with LZMA Utils. jpayne@68: .SH "SEE ALSO" jpayne@68: .BR xz (1)