zip file using command line mac code example
Example 1: zip folder terminal
zip -r mynewfilename.zip foldertozip/
Example 2: zip current directory mac command line
zip -r output_file.zip .
zip -r mynewfilename.zip foldertozip/
zip -r output_file.zip .