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

#861 in Command line utilities

Download history 6/week @ 2024-01-28 1/week @ 2024-02-18 36/week @ 2024-02-25 115/week @ 2024-03-03 25/week @ 2024-03-10 1/week @ 2024-03-17 159/week @ 2024-03-31

282 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

~10MB
~177K SLoC