Skip to content

Instantly share code, notes, and snippets.

@shamangeorge
Last active December 25, 2015 04:09
Show Gist options
  • Save shamangeorge/6915233 to your computer and use it in GitHub Desktop.
Save shamangeorge/6915233 to your computer and use it in GitHub Desktop.
Get all vagrants
for url in `curl http://www.vagrantbox.es | grep '<td>h' | sed 's/<th scope="row">//g' | sed 's/<\/td>//g' | sed 's/<td>//g' | sed '/goo.gl/d' | sed 's/\ //g'`; do file=`echo $url | sed 's/\ //g' | sed 's/\///g' | sed 's/disk1//g' | sed 's/http\://g' | sed 's/https\://g'`; vagrant box add $file $url; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment