Skip to content

Commit

Permalink
zip: add encryption example (tldr-pages#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl authored Oct 21, 2017
2 parents 9a0703c + 50b48f6 commit 4b0f219
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 (user will be prompted for a password):

`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 4b0f219

Please sign in to comment.