mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-07 08:13:43 +02:00
add a zip cmd
zip exclude some patterns
This commit is contained in:
parent
c3d19b590d
commit
e00f9214ef
1 changed files with 4 additions and 0 deletions
|
@ -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\* ...`
|
||||
|
|
Loading…
Add table
Reference in a new issue