GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Zip Files |
20201231 When sharing private and confidential documents with others it is often useful to create a zip archive that is encrypted. Whilst this is not a guarantee that the password or the encryption can not be compromised, it provides a level of casual protection if sending the documents by email. For stronger protection use strong encryption like Pretty Good Privacy.
$ zip --encrypt myarc.zip myarc/*.pdf |
Do note that the zip archive will include the file names in clear text and thus it is best not to name the files that may indicate their contents.
$ unzip -l myarc.zip # List contents |