Modern rewrite of Info-ZIP's zip, unzip, and zipinfo with a reentrant core (libziputils) and thin CLIs aimed at drop-in compatibility.
- Drop in replacement for zip and unzip packages using system zlib
- Targets Info-ZIP
zip3.0 /unzip6.0 behavior; unsupported flags fail fast instead of silently diverging. - Library-first design: CLIs only parse args and populate
ZContext, leaving core logic inlibziputils.
This project requires compilation. See HACKING.md for detailed development requirements.
meson setup build
ninja -C buildThe binaries zip, unzip, and zipinfo will be available in the build/ directory.
- Create an archive:
build/zip out.zip file1.txt dir/ - List contents:
build/unzip -l out.zip - Extract with paths:
build/unzip out.zip - Stream to stdout:
build/unzip -p out.zip path/in/archive > file - Keep verbose logging:
build/zip -lf log.txt -li out.zip file1
InfoZIP