Skip to content

Instantly share code, notes, and snippets.

@kbshl
Created September 30, 2015 12:09
Show Gist options
  • Save kbshl/431991141731921dd5b3 to your computer and use it in GitHub Desktop.
Save kbshl/431991141731921dd5b3 to your computer and use it in GitHub Desktop.
Mac bash zip directory without Mac resource files such as "_MACOSX" or "._Filename" and .ds store files
zip -r -X <OUTPUT_ZIP_PATH> <DIR_TO_COMPRESS_PATH>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment