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

#1082 in Command line utilities

Download history 25/week @ 2024-07-28 3/week @ 2024-09-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

~12MB
~205K SLoC