linux zip everything in folder code example
Example 1: linux zip a directory
zip -r filename.zip /path/to/folder1
Example 2: zip current directory mac command line
zip -r output_file.zip .
zip -r filename.zip /path/to/folder1
zip -r output_file.zip .