wget -q -O - http://something/podcast.xml | \ grep "enclosure url" | awk '{print $2}' | \ sed 's/url=//' | xargs wget
This can definitely be squeezed down to something smaller and more elegant (you are welcome to do so) but that was not the objective. It just gets the job done.
No comments:
Post a Comment