1XZDEC(1) XZ Utils XZDEC(1)
2
3
4
6 xzdec, lzmadec - Small .xz and .lzma decompressors
7
9 xzdec [option...] [file...]
10 lzmadec [option...] [file...]
11
13 xzdec is a liblzma-based decompression-only tool for .xz (and only .xz)
14 files. xzdec is intended to work as a drop-in replacement for xz(1) in
15 the most common situations where a script has been written to use xz
16 --decompress --stdout (and possibly a few other commonly used options)
17 to decompress .xz files. lzmadec is identical to xzdec except that
18 lzmadec supports .lzma files instead of .xz files.
19
20 To reduce the size of the executable, xzdec doesn't support multi‐
21 threading or localization, and doesn't read options from XZ_DEFAULTS
22 and XZ_OPT environment variables. xzdec doesn't support displaying
23 intermediate progress information: sending SIGINFO to xzdec does noth‐
24 ing, but sending SIGUSR1 terminates the process instead of displaying
25 progress information.
26
28 -d, --decompress, --uncompress
29 Ignored for xz(1) compatibility. xzdec supports only decompres‐
30 sion.
31
32 -k, --keep
33 Ignored for xz(1) compatibility. xzdec never creates or removes
34 any files.
35
36 -c, --stdout, --to-stdout
37 Ignored for xz(1) compatibility. xzdec always writes the decom‐
38 pressed data to standard output.
39
40 -q, --quiet
41 Specifying this once does nothing since xzdec never displays any
42 warnings or notices. Specify this twice to suppress errors.
43
44 -Q, --no-warn
45 Ignored for xz(1) compatibility. xzdec never uses the exit sta‐
46 tus 2.
47
48 -h, --help
49 Display a help message and exit successfully.
50
51 -V, --version
52 Display the version number of xzdec and liblzma.
53
55 0 All was good.
56
57 1 An error occurred.
58
59 xzdec doesn't have any warning messages like xz(1) has, thus the exit
60 status 2 is not used by xzdec.
61
63 Use xz(1) instead of xzdec or lzmadec for normal everyday use. xzdec
64 or lzmadec are meant only for situations where it is important to have
65 a smaller decompressor than the full-featured xz(1).
66
67 xzdec and lzmadec are not really that small. The size can be reduced
68 further by dropping features from liblzma at compile time, but that
69 shouldn't usually be done for executables distributed in typical non-
70 embedded operating system distributions. If you need a truly small .xz
71 decompressor, consider using XZ Embedded.
72
74 xz(1)
75
76 XZ Embedded: <https://tukaani.org/xz/embedded.html>
77
78
79
80Tukaani 2017-04-19 XZDEC(1)