Skip to content

Instantly share code, notes, and snippets.

@splorp
Created March 19, 2013 22:04
Show Gist options
  • Save splorp/5200559 to your computer and use it in GitHub Desktop.
Save splorp/5200559 to your computer and use it in GitHub Desktop.
To be used in conjunction with the Run Shell Script Automator action as an OS X service.
for f in "$@"
do
zip -jr "$f.zip" "$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment