Skip to content

jopamo/zip-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ziputils logo

zip-utils

CI with Clang + Sanitizers Language Build System

Modern rewrite of Info-ZIP's zip, unzip, and zipinfo with a reentrant core (libziputils) and thin CLIs aimed at drop-in compatibility.

Features

  • Drop in replacement for zip and unzip packages using system zlib
  • Targets Info-ZIP zip 3.0 / unzip 6.0 behavior; unsupported flags fail fast instead of silently diverging.
  • Library-first design: CLIs only parse args and populate ZContext, leaving core logic in libziputils.

Installation / Usage

Build from Source

This project requires compilation. See HACKING.md for detailed development requirements.

meson setup build
ninja -C build

The binaries zip, unzip, and zipinfo will be available in the build/ directory.

Examples

  • 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

License

InfoZIP

About

A rendition of Infozip's zip and unzip

Resources

Stars

Watchers

Forks