- Zip Folder using zip
You can also specify multiple folders if you want to have multiple directories compressed in your zip file.
$ zip -r <output_file> <folder_1> <folder_2> ... <folder_n>
In order to achieve that, you would run the following command
$ ls -l | grep .zip