1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 06:35:43 +02:00

zip: explain how to specify the compression level

This commit is contained in:
Jaehoon Choi 2017-03-01 19:12:25 +09:00 committed by Agniva De Sarker
parent 8c89cf4613
commit eee1e72ba2

View file

@ -10,6 +10,10 @@
`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:
`zip -r {{compressed.zip}} {{/path/to/dir1 /path/to/dir2 /path/to/file}}`