Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save StephenPunwasi/95cd8d77b0a1a956b07cda99ef098af6 to your computer and use it in GitHub Desktop.
Save StephenPunwasi/95cd8d77b0a1a956b07cda99ef098af6 to your computer and use it in GitHub Desktop.
Exclude OS X .DS_Store and Git files when zipping.
zip -r [filename.zip] [foldername] -x "*.DS_Store" -x *.git*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment