mac how to zip files command code example Example: zip current directory mac command line zip -r output_file.zip .