Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

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 workflow. Set Shell to "/bin/bash", and Pass Input to "as arguments", then paste the following in the script editor. Save the Service with a suitable name (Ie. Download WP Plugins).

View WP Plugin Download shell script for Automator.
1 2 3 4 5 6
cd "$@";
curl -O http://downloads.wordpress.org/plugin/plugin1.zip
curl -O http://downloads.wordpress.org/plugin/plugin2.zip
curl -O http://downloads.wordpress.org/plugin/plugin3.zip
unzip \*.zip
rm *.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.