cURL command line to get embedded files in rss feed? cURL command line to get embedded files in rss feed? curl curl

cURL command line to get embedded files in rss feed?


curl -s http://www.mininova.org/rss/ubuntu | xml sel -N atom="http://www.w3.org/2005/Atom" -t -m './/enclosure' -v '@url' -n | wget -i -
  • curl get xml from url
  • xml(xmlstarlet) extract enclosure url form xml
  • wget download list of url from stdin

If you don't want to download all links, wget is not needed.