A small ZIP file extraction utility written in Rust. The crate exposes both a library API and a CLI program.
To build the executable use Cargo:
cargo build --release
The executable output path is /target/release/zip-extractor
Executing the CLI program with the help
flag will print instructions how to use it:
zip-extractor --help
For example to extract file my_file.txt
from my_archive.zip
and save its contents to my_extracted_file.txt
:
zip-extractor -a my_archive.zip -f my_file.txt > my_extracted_file.txt
Run the test suite with Cargo:
cargo test
MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)