Skip to content

Instantly share code, notes, and snippets.

@hitautodestruct
Last active September 12, 2018 16:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitautodestruct/96bb91a15f409d0a4063 to your computer and use it in GitHub Desktop.
Save hitautodestruct/96bb91a15f409d0a4063 to your computer and use it in GitHub Desktop.
Zip files on osX without Icon or DS_Store

Terminal command to zip up files excluding unwanted Icon and DS_Store files

zip my_zip_file.zip -r dir_to_zip -x "*Icon*" "*.DS_Store"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment