mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
zip: add encryption example (#1558)
This commit is contained in:
commit
4b0f219765
1 changed files with 4 additions and 0 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue