Scripting in French

rm rss.xml*
# wget http://static.flickrfan.org/ap/rss.xml
wget http://static.flickrfan.org/afp/rss.xml
cat rss.xml* | \
grep \<enclosure | \
sed 's/.*url\=\"//' | \
sed 's/\" type.*//' | \
sed 's/\/\/\//\/\//' > j2

for file in `cat j2`
do
  echo "File is: $file"
  wget -nc $file
done
Advertisements