Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ruthenium/64c0df5234ac0425215f19d88167cff6 to your computer and use it in GitHub Desktop.
Save ruthenium/64c0df5234ac0425215f19d88167cff6 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