Skip to content

Instantly share code, notes, and snippets.

@victorgs
Created October 25, 2016 23:41
Show Gist options
  • Save victorgs/fa057a83a58e5be18cb8ddb19efa346e to your computer and use it in GitHub Desktop.
Save victorgs/fa057a83a58e5be18cb8ddb19efa346e to your computer and use it in GitHub Desktop.
for i in $(curl http://www.missoulapubliclibrary.org/index.php/resources/online-resources/317-linux |grep 'ftp/LinuxJournal' |sed -n 's/.*href="\([^"]*\).*/\1/p'); do curl -O http://www.missoulapubliclibrary.org$i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment