Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active December 16, 2015 07:48
Show Gist options
  • Save Shelob9/5401176 to your computer and use it in GitHub Desktop.
Save Shelob9/5401176 to your computer and use it in GitHub Desktop.
Zip a file in Mac OSX without including the DS_Store file.
zip -r archive.zip directory -x "*/\.DS_Store"
@Shelob9
Copy link
Author

Shelob9 commented Apr 21, 2013

zip -r _second_foundation.zip _second_foundation -x "*.DS_Store"

@Shelob9
Copy link
Author

Shelob9 commented Jul 3, 2013

zip -r _second-foundation.zip _second_foundation -x "*.DS_Store"

@Shelob9
Copy link
Author

Shelob9 commented Nov 3, 2013

zip -r _second-foundation.zip _second-foundation -x "*.DS_Store"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment