mirror of https://github.com/CrimsonTome/tldr.git
add options to zip
parent
46c91180fc
commit
daf4885536
|
@ -2,6 +2,14 @@
|
||||||
|
|
||||||
> Package and compress (archive) files into zip file
|
> Package and compress (archive) files into zip file
|
||||||
|
|
||||||
- package and compress multiple directories & 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}}`
|
||||||
|
|
||||||
|
- add files to an existing zip file
|
||||||
|
|
||||||
|
`zip {{compressed.zip}} {{path/to/file}}`
|
||||||
|
|
||||||
|
- remove unwanted files from an existing zip file
|
||||||
|
|
||||||
|
`zip -d {{compressed.zip}} "{{foo/*.tmp}}"`
|
||||||
|
|
Loading…
Reference in New Issue