Skip to content

Commit

Permalink
zip: add encryption example
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben committed Oct 20, 2017
1 parent 868954c commit 3477ab3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/common/zip.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

`zip -r {{compressed.zip}} {{/path/to/dir1 /path/to/dir2 /path/to/file}}`

- Create an encrypted archive:

`zip -e -r {{compressed.zip}} {{path/to/dir}}`

- Add files to an existing zip file:

`zip {{compressed.zip}} {{path/to/file}}`
Expand Down

0 comments on commit 3477ab3

Please sign in to comment.