Small shell wrapper around zip that adds support for .zipignore.
git clone https://github.com/stapat1245/zipb.git
cd zipb
chmod +x ./zipb
echo 'export PATH="$PATH:/path/to/zipb"' >> ~/.bashrc
source ~/.bashrcchmod +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/*"