Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
This shell script for Automator will automatically download any and all .zip files you supply, extract them, then remove the original .zip files. Feel free to replace .zip with any other specific file type. Create a new service in Automator, set Service Receives Selected to "files or folders" in "Finder", then add a "Run Shell Script" to the wor…
cd "$@";
curl -O
curl -O
curl -O
unzip \*.zip
rm *.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment