Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 881 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 881 Bytes

ZIP Extractor

A small ZIP file extraction utility written in Rust. The crate exposes both a library API and a CLI program.

Build

To build the executable use Cargo:

cargo build --release

The executable output path is /target/release/zip-extractor

Usage

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

Test

Run the test suite with Cargo:

cargo test

License

MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)