rzip

Crates.iorzip
lib.rsrzip
version0.9.20
sourcesrc
created_at2021-06-03 15:42:21.510082
updated_at2024-01-29 01:56:27.367591
descriptionSimple archiver
homepage
repositoryhttps://github.com/mass10/rzip/
max_upload_size
id405725
size45,941
Masaru Irisawa 入澤 賢 (mass10)

documentation

https://docs.rs/crate/rzip/

README

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
Commit count: 153

cargo fmt