mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:53:10 +02:00
zip: simplify -x example (#1490)
This commit is contained in:
commit
cf2b18e04c
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- E[x]clude unwanted files from being added to the compressed archive:
|
- 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:
|
- Archive a directory and its contents with the highest level [9] of compression:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue