2016年7月28日 星期四

[Linux] Create encrypted (password protected) zip/upzip file

 - zip 

This will prompt for a password:
zip --encrypt file.zip files
This is more insecure, as the password is entered/shown as plain text:
zip --password (password) file.zip files

Warning, the standard zip encryption is very weak and is easily cracked.


- unzip 

unzip -P (password) file.zip