Skip to content

Instantly share code, notes, and snippets.

@kaisugi
Created April 10, 2019 10:44
Show Gist options
  • Save kaisugi/eb0d5ebd22c257863200052499da059f to your computer and use it in GitHub Desktop.
Save kaisugi/eb0d5ebd22c257863200052499da059f to your computer and use it in GitHub Desktop.
ディレクトリ内のzipから.DS_Storeと__MACOSXを除去
for file in `find *.zip`
do
zip ${file} -d "*.DS_Store"
zip ${file} -d "*__MACOSX*"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment