Last active
December 23, 2015 11:07
-
-
Save aguegu/5712299 to your computer and use it in GitHub Desktop.
A bash script to download all Octocats logos from http://octodex.github.com/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
curl -s "https://octodex.github.com/" | grep "<img.*data-src" | grep -o "/image[^\"]*" | while read line; do | |
wget 'https://octodex.github.com'$line | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment