Get rid of .DS_Store files on Mac when Zipping
Teased of clients asking why you have that hidden .DS_Store in folder? Here is a quick tip on getting rid of when compressing a folder. Anyways, you're not afraid of terminal, are you?
zip -r name.zip name -x "*.DS_Store"
If you need to remove multiple files you can do this.
zip -r name.zip name -x "*.DS_Store" -x "*.svn"
That's it. Dead simple.
Written by Ram Ratan Maurya
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#