mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-24 18:30:25 +03:00
zip: simplify -x example
According to the 5th item of the [Guidelines](https://github.com/tldr-pages/tldr/blob/master/CONTRIBUTING.md#guidelines), avoid getting into details like glob patterns.
This commit is contained in:
parent
91938046f2
commit
43ff4dd736
@ -8,7 +8,7 @@
|
||||
|
||||
- E[x]clude unwanted files from being added to the compressed archive:
|
||||
|
||||
`zip -r {{compressed.zip}} {{path/to/dir}} -x \*.git\* \*node_modules\* ...`
|
||||
`zip -r {{compressed.zip}} {{path/to/dir}} -x {{path/to/exclude}}`
|
||||
|
||||
- Archive a directory and its contents with the highest level [9] of compression:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user