Last active
December 16, 2015 07:48
-
-
Save Shelob9/5401176 to your computer and use it in GitHub Desktop.
Zip a file in Mac OSX without including the DS_Store file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zip -r archive.zip directory -x "*/\.DS_Store" | |
zip -r _second-foundation.zip _second_foundation -x "*.DS_Store"
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
zip -r _second_foundation.zip _second_foundation -x "*.DS_Store"