ADVZIP(1)

โœจ NAME โœจ

okay so bestie, the manual name is advzip - AdvanceCOMP ZIP Compression Utility ๐ŸŽ€ that's the whole vibe!


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

advzip [-a, --add] [-x, --extract] [-l, --list]
     [-z, --recompress] [-t, --test] [-0, --shrink-store]
     [-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra]
     [-4, --shrink-insane] [-i, --iter N]
     [-k, --keep-file-time] [-p, --pedantic] [-q, --quiet]
     [-h, --help] [-V, --version] ARCHIVES... [FILES...]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

okay so the main purpose of this utility is to recompress and test zip archives so they end up the smallest possible size ๐Ÿซถ literally iconic.

For recompression, it uses the libdeflate implementation ๐ŸŒธ this one generally gives 5-10% more compression than the zLib Deflate implementation, and it's also generally faster. no cap ๐Ÿ’…

For experimental purposes, there's also the 7-Zip LZMA algorithm, available with the -N option ๐Ÿงช but be careful, because the zips it makes are not usable by any other program. To make them usable again, you have to recompress them without the -N option. Generally this algorithm gives 10-20% more compression than the zLib Deflate implementation.

โš ๏ธ bestie, with -N the generated zips WILL NOT BE USABLE by any other program! recompress them without -N before you share them ๐Ÿ˜ญ

๐ŸŒˆ OPTIONS ๐ŸŒˆ

  • -a, --add ARCHIVE FILES... โ€” makes a brand new archive with the files you give it ๐ŸŽ€ you can only specify one archive, so no double-dipping.
  • -x, --extract ARCHIVE โ€” extracts everything from the archive you name ๐Ÿ“ฆ again, only one archive allowed.
  • -l, --list ARCHIVES... โ€” lists what's inside each archive you pass in ๐Ÿ‘€
  • -z, --recompress ARCHIVES... โ€” recompresses the archives you name โœจ if you use -1, -2, -3, or -4, it keeps the smallest file out of three options: the previous compressed data, the new compression, and the uncompressed format ๐Ÿงš if you use -0, the archive is always rewritten with no compression at all.
  • -t, --test ARCHIVES... โ€” tests the archives you name ๐Ÿ” you can level it up with -p.
  • -k, --keep-file-time โ€” when you recompress with -z, this keeps the .zip file's time ๐Ÿ•ฐ๏ธ
  • -p, --pedantic โ€” be extra picky about zip tests ๐Ÿ™ˆ when this is on, some more intense integrity checks run, and these usually aren't done by other zip utilities. very main character.
  • -0, --shrink-store โ€” turns compression off, so files are just stored ๐Ÿ“ super handy for expanding archives full of .png and .mp3 files, since those are already compressed and squishing them again is a total waste of time and resources ๐Ÿ’€
  • -1, --shrink-fast โ€” sets the compression level to "fast" using the zlib compressor โšก
  • -2, --shrink-normal โ€” sets the compression level to "normal" using the libdeflate compressor ๐Ÿ’œ this is the default level, so you get it if you don't pick anything!
  • -3, --shrink-extra โ€” sets the compression level to "extra" using the 7z compressor ๐Ÿ”ฅ you can tune its iterations with -i, --iter.
  • -4, --shrink-insane โ€” sets the compression level to "insane" using the zopfli compressor ๐ŸŒ‹ you can tune its iterations with -i, --iter too.
  • -i, --iter N โ€” sets an extra number of iterations for the 7z and zopfli compressors when using -3 and -4 ๐Ÿงฎ more iterations usually means better compression, but they can take a lot more time, so try numbers like 10, 15, 20, and so on.

this file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima ๐Ÿ‘‘ props to the legends who made it!


๐Ÿ”— SEE ALSO ๐Ÿ”—

check out advpng(1), advmng(1), and advdef(1) next, they're the squad ๐Ÿฆ‹


That's the whole tea, bestie ๐Ÿ’– you just finished reading the AdvanceCOM...ion Utility(1) page, so you're officially a zip compression expert now ๐ŸŽ€ periodt ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from