Skip to content

stapat1245/zipb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

zipb

Small shell wrapper around zip that adds support for .zipignore.

Installation

git clone https://github.com/stapat1245/zipb.git
cd zipb
chmod +x ./zipb
echo 'export PATH="$PATH:/path/to/zipb"' >> ~/.bashrc
source ~/.bashrc

Usage

chmod +x ./zipb
zipb -r archive.zip .

Example .zipignore:

node_modules/
*.log
temp/*

Note: a pattern ending with / is treated as a directory and expanded to exclude both dir/ and dir/*.

Equivalent zip call:

zip -r archive.zip . -x "node_modules/" -x "node_modules/*" -x "*.log" -x "temp/*"

About

a small shell script for .zipignore implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages