How to Create a Password Protected ZIP File in Linux

Warning! The standard ZIP encryption is very weak and could be cracked easily.


$ zip --encrypt file1 file2 file3
Enter password: 

Verify password: 

for a directory:

$ zip --encrypt -r /var/backup/
Enter password: 

Verify password: 


$ zip -P passw0rd file1 file2 file3

Warning! The password is plain text and can be logged in history file.


Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file