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 zipped_folder.zip folder_to_zip

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

unzip zipped_folder.zip

© 2020 DevDojo LLC. All rights reserved.