Zippa is a command line utility for zipping folders and files using Rust.
zippa zap -s FOLDER_TO_ZIP -d OUTPUT.zipThe following flags are available:
-s, --source FOLDER
The source folder to zip
-d, --dest FILE
The output zip file
-c, --compression
The compression algorithm to use. Supported values are bzip2 (default), gzip or zip
-o, --override
Override existing output file
If not passed, the compression option defaults to bzip2 and the --override flag is applicable when you want it to overwrite existing output files.
zippa unzap -s FOLDER_TO_ZIP -d OUTPUT.zipThe following flags are available:
-s, --source FOLDER
The source folder to zip
-d, --dest FILE
The output directory destination
Add this to your Cargo.toml:
[dependencies]
zippa = "*"And run cargo install --path . to install.
Pull requests are welcome!