LZMAINFO(1)
โจ NAME โจ
okay bestie, this is the lzmainfo(1) page from XZ Utils ๐ and it's giving "peek inside your .lzma files" ๐
lzmainfo shows information stored in the .lzma file header ๐
๐ธ SYNOPSIS ๐ธ
lzmainfo [--help] [--version] [file...]
๐ DESCRIPTION ๐
okay so lzmainfo reads the header of an .lzma file and tells you what's inside, no decompressing needed โจ it grabs the first 13 bytes from the file you name, decodes that header, and prints the result to standard output in a human readable format ๐ง if you don't give it any files, or the file is -, it reads standard input instead ๐ซถ
the most iconic bits are the uncompressed size and the dictionary size ๐ heads up though: the uncompressed size only shows up if the file is in the non-streamed .lzma format variant ๐
also, the memory needed to decompress the file is a few dozen kilobytes plus the dictionary size ๐ฆ
lzmainfo is included in XZ Utils mostly for backward compatibility with LZMA Utils ๐ it's giving "keeping the old crowd happy" energy ๐ฅน
๐ EXIT STATUS ๐
0โ all is good, no cap โจ1โ an error happened ๐
๐ญ BUGS ๐ญ
ngl this one is a little messy: lzmainfo uses MB while the correct suffix would be MiB (2^20 bytes) ๐ it does this on purpose to keep the output compatible with LZMA Utils, so it's not a glitch, just a vibe we're keeping ๐
๐ SEE ALSO ๐
xz(1)โ the main XZ Utils page, go check it out ๐ฆ
Tukaani, 2013-06-30, LZMAINFO(1) ๐ that's all, bestie, you're literally ready to peek inside those headers now ๐ โจ
๐ฆ where this page comes from
- alpine 3.22: xz-doc 5.8.4-r0 ยท GPL-2.0-or-later AND 0BSD AND Public-Domain AND LGPL-2.1-or-later
- alpine 3.23: xz-doc 5.8.4-r0 ยท GPL-2.0-or-later AND 0BSD AND Public-Domain AND LGPL-2.1-or-later
- alpine 3.24: xz-doc 5.8.4-r0 ยท GPL-2.0-or-later AND 0BSD AND Public-Domain AND LGPL-2.1-or-later
- arch rolling: xz 5.8.4-1 ยท GPL-2.0-or-later AND 0BSD AND LicenseRef-Public-Domain AND LGPL-2.1-or-later
- centos-stream 10: xz-lzma-compat 1:5.6.2-5.el10 ยท 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
- debian trixie: xz-utils 5.8.1-1+deb13u1 ยท 0BSD
- debian trixie: xz-utils 5.8.1-1+deb13u2 ยท 0BSD
- fedora 43: xz-lzma-compat 1:5.8.1-2.fc43 ยท 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
- fedora 43: xz-lzma-compat 1:5.8.1-4.fc43 ยท 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
- fedora 44: xz-lzma-compat 1:5.8.2-2.fc44 ยท 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: xz 5.8.4
- opensuse-leap 16.0: xz 5.8.1-160000.3.1 ยท 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: xz 5.8.1-160000.3.1 ยท 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: xz 5.8.1-160000.3.1 ยท 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: xz 5.8.1-160000.3.1 ยท 0BSD AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu questing: xz-utils 5.8.1-1build2
- ubuntu questing: xz-utils 5.8.1-1ubuntu0.1 ยท 0BSD
- ubuntu resolute: xz-utils 5.8.3-1 ยท 0BSD
- ubuntu resolute: xz-utils 5.8.3-1ubuntu0.1 ยท 0BSD
- ubuntu stonking: xz-utils 5.8.3-1 ยท 0BSD
- ubuntu stonking: xz-utils 5.8.3-1ubuntu1 ยท 0BSD
- ๐ the page's license: 0BSD
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms