PLZIP(1)
π¦ PLZIP(1) β the girlies' guide to plzip π¦
okay so bestie, welcome to the plzip manual page π (that's it in the User Commands corner of the manual, section 1, iykyk). this is the β¨fullβ¨ rundown and i'm gonna hold your hand through every single flag, no cap.
πΈ NAME πΈ
plzip β reduces the size of files π
π SYNOPSIS π
plzip [options] [files]
β¨ DESCRIPTION β¨
Okay so, plzip? It's a massively parallel (read: multithreaded, all the cores are invited to the party π) implementation of lzip. And it uses the compression library lzlib. Periodt.
Now, lzip itself: it's a lossless data compressor, and its user interface is giving very much gzip-or-bzip2 energy. lzip uses a simplified form of LZMA (that's Lempel-Ziv-Markov chain-Algorithm, bestie, say it with your chest) and it's designed so that every implementation can fully interoperate with every other one. π
The maximum dictionary size is 512 MiB, so literally any lzip file can be decompressed on 32-bit machines. iconic. And lzip provides accurate and robust 3-factor integrity checking β she's thorough, she's checking everything, she's not about to let a corrupted bit sneak past her π
.
Some numbers for the vibe check:
lzip -0compresses about as fast asgzipπβοΈlzip -9compresses most files more thanbzip2π₯- decompression speed is intermediate between
gzipandbzip2 lzipprovides better data recovery capabilities thangzipandbzip2π«Ά
And honestly? lzip has been designed, written, and tested with great care to replace gzip and bzip2 as the general-purpose compressed format for Unix-like systems. main character energy fr fr π
Now back to plzip: she can compress/decompress large files on multiprocessor machines way faster than lzip, at the cost of a slightly reduced compression ratio (we're talking 0.4 to 2 percent larger compressed files β a tiny little trade-off, she's worth it).
β οΈ but bestie listen: the number of usable threads is limited by file size. On files larger than a few GB,plzipcan use hundreds of processors, but on files smaller than 1 MiBplzipis no faster thanlzipβ not even at compression level-0. π
And the number of threads defaults to the number of processors. cute.
π OPTIONS π
-hβ display usage help and exit--helpβ display full help and exit-V,--versionβ output version information and exit-a,--trailing-errorβ exit with error status if trailing data-B,--data-size=<bytes>β set size of input data blocks [2x8=16 MiB]-c,--stdoutβ write to standard output, keep input files-d,--decompressβ decompress, test compressed file integrity-f,--forceβ overwrite existing output files-F,--recompressβ force re-compression of compressed files-k,--keepβ keep (don't delete) input files-l,--listβ print (un)compressed file sizes-m,--match-length=<bytes>β set match length limit in bytes [36]-n,--threads=<n>β set number of (de)compression threads [2]-o,--output=<file>β write to <file>, keep input files-q,--quietβ suppress all messages-s,--dictionary-size=<bytes>β set dictionary size limit in bytes [8 MiB]-t,--testβ test compressed file integrity-v,--verboseβ be verbose (a 2nd-vgives more π)-0..-9β set compression level [default6]--loose-trailingβ allow trailing data seeming corrupt header--in-slots=<n>β number of 1 MiB input packets buffered [4]--out-slots=<n>β number of 1 MiB output packets buffered [64]--check-libβ compare version oflzlib.hwithliblz.{a,so}
If no file names are given, or if a file is '-', plzip compresses or decompresses from standard input to standard output. π«Ά
Numbers may contain underscore separators between groups of digits, and may be followed by a SI or binary multiplier: 1_234_567kB, 4KiB. And dictionary sizes 12 to 29 are interpreted as powers of two, meaning 2^12 to 2^29 bytes.
The bidimensional parameter space of LZMA can't be mapped to a linear scale optimal for all files. So if your files are large, very repetitive, etc, you may need to use the options --dictionary-size and --match-length directly to achieve optimal performance. she said fine, do it yourself then π
And to extract all the files from archive foo.tar.lz, use the commands:
tar -xf foo.tar.lz
plzip -cd foo.tar.lz | tar -xf -
π EXIT STATUS π
0β for a normal exit β¨1β for environmental problems (file not found, invalid command-line options, I/O errors, etc)2β to indicate a corrupt or invalid input file π3β for an internal consistency error (e.g., bug) which causedplzipto panic π
π REPORTING BUGS π
Report bugs to lzip-bug@nongnu.org
Plzip home page: http://www.nongnu.org/lzip/plzip.html
π COPYRIGHT π
Copyright Β© 2009 Laszlo Ersek.
Copyright Β© 2026 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Using lzlib 1.16
Using LZ_API_VERSION = 1016
π§ SEE ALSO π§
The full documentation for plzip is maintained as a Texinfo manual. If the info and plzip programs are properly installed at your site, the command
info plzip
should give you access to the complete manual. πβ¨
okay bestie that's the whole page, you're basically a plzip expert now, go forth and compress π this was plzip 1.13, from March 2026, hanging out in PLZIP(1) β love u, bye ππ¦
π¦ where this page comes from
- ubuntu stonking: plzip 1.13-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms