mac zip up a directory on mac code example Example: zip current directory mac command line zip -r output_file.zip .