How to zip a folder from the terminal

Here is how you can zip a folder from your terminal.

Open terminal and enter:

zip -r nameOfZip.zip nameOfFolder

Here is how you can unzip a folder from your terminal.

Open terminal and enter:

unzip file.zip -d destination_folder

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: