Download images from feed
Flickr feed example:
wget -O - http://api.flickr.com/services/feeds/photos_public.gne |grep 'rel="enclosure"' |perl -lpe 's/^.*href="([^"]*)".*$/\1/' |xargs wget -c
Using Perl for Regxp:
sudo aptitude update && sudo aptitude install perl-doc && man perlre
Written by Nick den Engelsman
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Perl
Authors

janosgyerik
25.23K

Jean-Remy Duboc
12.29K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#