making zip file unix mac code example
Example 1: compress file in terminal
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Example 2: zip current directory mac command line
zip -r output_file.zip .
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
zip -r output_file.zip .