Hi everyone, i'm trying to download all the jpg's that my school put on flickr and im trying to do this with wget via a bash script.
The pictures that im trying to pull are on this site :
and below is my script that doesn't appear to be working
Hi everyone, i'm trying to download all the jpg's that my school put on flickr and im trying to do this with wget via a bash script.
The pictures that im trying to pull are on this site :
and below is my script that doesn't appear to be working
Try this:
#!/bin/bash
wget -q "http://www.flickr.com/photos/davenportuniversity/sets/72157629564160622/" -O -| grep -o 'http[^"]*_s.jpg' | sed 's/_s.jpg/.jpg/' | while read id
do
echo "Downloading ${id##*/}"
wget -q -c "$id"
done