Create an Encrypted Zip Archive from the Command Line


2012-08-31

Here is how you create an encrypted zip from the terminal:

zip -er archive.zip nameOfYourFolderToZip

The above command will create an encrypted zip archive of a folder named nameOfYourFolderToZip and save it to archive.zip.