Skip to content

Instantly share code, notes, and snippets.

@alexanderscott
Created September 7, 2012 07:26
Show Gist options
  • Save alexanderscott/3664083 to your computer and use it in GitHub Desktop.
Save alexanderscott/3664083 to your computer and use it in GitHub Desktop.
Remove .DS_Store files from zip archive via terminal
zip -d ZIPfile.zip `unzip -l ZIPfile.zip | grep .DS_Store | awk '{print $4}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment