19 releases

0.9.20 Jan 29, 2024
0.9.19 Jul 29, 2023
0.9.9 Jun 24, 2023
0.9.3 Dec 19, 2021
0.9.1 Jun 3, 2021

#1046 in Command line utilities

Download history 6/week @ 2024-01-26 21/week @ 2024-02-23 34/week @ 2024-03-01 106/week @ 2024-03-08 17/week @ 2024-03-15 6/week @ 2024-03-29

80 downloads per month

MIT license

26KB
575 lines

About

  • Simple ZIP-per.
  • Able to exclude something like node_modules, .git with settings.toml.

Getting Started

cargo install rzip

rzip archive.zip path\to\directory

settings.toml

exclude_dirs = [
	".git",
	".settings"
]

exclude_files = [
	"*.vcxproj.user",
	"*.obj"
]

Examples

Create archive with timestamp.

  • Windows
REM Generates Source-20230624-184501.zip
rzip.exe "{0}-{Y}{m}{d}-{H}{M}{S}.zip" C:\Path\To\Source
  • Linux
# Generates source-20230624-184501.zip
rzip "%0-%Y%m%d-%H%M%S.zip" /path/to/source

Future Plans

  • Improve recognizing settings.toml.
  • Recognizing ~/.rziprc

lib.rs:

rzip - A simple archiver with zip.

No API documentations here. See https://crates.io/crates/rzip

Dependencies

~11MB
~181K SLoC