Downloading Podcasts With CRON


I used to open iTunes so I could click the “update” button to get the latest version of a podcast. Then I got tired of waiting for iTunes and decided I could keep my podcasts updated via CRON. Here’s the script I use which should work for most podcasts with an XML feed:

wget --output-document=- --quiet http://feeds.americanpublicmedia.org/MarketplacePodcast | grep mp3 | head -1 | sed -e "s/^.*\(http.*mp3\).*/\1/" | wget --input-file=- --quiet --output-document /tmp/marketplace.`date +\%Y-\%m-\%d`.mp3

No Comments

No comments yet.

Comments RSS

Sorry, the comment form is closed at this time.


powered by WordPress     themed by Mukkamu     presented by ideaharbor.org     everything else by steve hulet