🤐 How to zip a folder from the terminal

March 14, 2020 (4y ago)

Zip a folder from your terminal.

Open terminal and enter:

🖥️

zip -r nameOfZip.zip nameOfFolder

Unzip a folder from your terminal.

Open terminal and enter:

🖥️

unzip file.zip -d destination_folder