1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00

zip: add encryption example (#1558)

This commit is contained in:
Starbeamrainbowlabs 2017-10-21 21:49:11 +01:00 committed by GitHub
commit 4b0f219765

View file

@ -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}}`