1 .\" SPDX-License-Identifier: 0BSD
3 .\" Author: Lasse Collin
5 .TH XZDEC 1 "2024-04-08" "Tukaani" "XZ Utils"
7 xzdec, lzmadec \- Small .xz and .lzma decompressors
18 is a liblzma-based decompression-only tool for
24 is intended to work as a drop-in replacement for
26 in the most common situations where a script
27 has been written to use
28 .B "xz \-\-decompress \-\-stdout"
29 (and possibly a few other commonly used options) to decompress
43 To reduce the size of the executable,
45 doesn't support multithreading or localization,
46 and doesn't read options from
50 environment variables.
52 doesn't support displaying intermediate progress information: sending
56 does nothing, but sending
58 terminates the process instead of displaying progress information.
61 .BR \-d ", " \-\-decompress ", " \-\-uncompress
66 supports only decompression.
73 never creates or removes any files.
75 .BR \-c ", " \-\-stdout ", " \-\-to-stdout
80 always writes the decompressed data to standard output.
82 .BR \-q ", " \-\-quiet
83 Specifying this once does nothing since
85 never displays any warnings or notices.
86 Specify this twice to suppress errors.
88 .BR \-Q ", " \-\-no-warn
93 never uses the exit status 2.
96 Display a help message and exit successfully.
98 .BR \-V ", " \-\-version
99 Display the version number of
111 doesn't have any warning messages like
113 has, thus the exit status 2 is not used by
122 for normal everyday use.
126 are meant only for situations where it is important to have
127 a smaller decompressor than the full-featured
133 are not really that small.
134 The size can be reduced further by dropping
135 features from liblzma at compile time,
136 but that shouldn't usually be done for executables distributed
137 in typical non-embedded operating system distributions.
138 If you need a truly small
140 decompressor, consider using XZ Embedded.
144 XZ Embedded: <https://tukaani.org/xz/embedded.html>