Mac command to zip folder

Zipping a folder in terminal on your mac is very simple. If you wish to compress a folder using the command line, you can run the following command:

zip -r folder_to_zip

And now that `folder_to_zip will be compressed. Alternatively, if you wish to uncompress you can use the following command:

Back to DevDojo