Zip Up a Folder from the Command Line


2012-08-31

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

zip -r myzip.zip nameOfYourFolderToZip

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

You can also encrypt a zip archive.