add a zip cmd

zip exclude some patterns
waldyrious/alt-syntax
Being simple 2016-02-20 11:59:18 +08:00
parent c3d19b590d
commit e00f9214ef
1 changed files with 4 additions and 0 deletions

View File

@ -13,3 +13,7 @@
- Remove unwanted files from an existing zip file:
`zip -d {{compressed.zip}} "{{foo/*.tmp}}"`
- Remove unwanted pattern files from target dirs:
`zip -r {{compressed.zip}} {{target_dirs}} -x \*.git\* \*node_modules\* ...`