mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 08:35:41 +02:00
zip
: explain how to specify the compression level
This commit is contained in:
parent
8c89cf4613
commit
eee1e72ba2
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
`zip -r {{compressed.zip}} {{path/to/dir}} -x \*.git\* \*node_modules\* ...`
|
`zip -r {{compressed.zip}} {{path/to/dir}} -x \*.git\* \*node_modules\* ...`
|
||||||
|
|
||||||
|
- Archive a directory and its contents with the highest level [9] of compression:
|
||||||
|
|
||||||
|
`zip -r -9 {{compressed.zip}} {{/path/to/dir}}`
|
||||||
|
|
||||||
- Package and compress multiple directories and files:
|
- Package and compress multiple directories and files:
|
||||||
|
|
||||||
`zip -r {{compressed.zip}} {{/path/to/dir1 /path/to/dir2 /path/to/file}}`
|
`zip -r {{compressed.zip}} {{/path/to/dir1 /path/to/dir2 /path/to/file}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue