mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 06:57:55 +01:00
commit
3ef9d44a5c
1 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,14 @@
|
|||
|
||||
> 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}}`
|
||||
|
||||
- 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 a new issue