Merge pull request #782 from tldr-pages/zip-x

Clarify -x option
waldyrious/alt-syntax
Leandro Ostera 2016-02-21 15:04:43 +01:00
commit e54d863e67
1 changed files with 2 additions and 2 deletions

View File

@ -14,6 +14,6 @@
`zip -d {{compressed.zip}} "{{foo/*.tmp}}"`
- Remove unwanted files from target dirs:
- Exclude unwanted files from being added to the compressed archive:
`zip -r {{compressed.zip}} {{target_dirs}} -x \*.git\* \*node_modules\* ...`
`zip -r {{compressed.zip}} {{path/to/dir}} -x \*.git\* \*node_modules\* ...`