#!/bin/sh # As long as it is useful to license a programm like this anyhow, this # should be distributed under the terms of the MIT License # Just do with it whatever you like # Nils Knappmeier MP3DIR=$HOME/podcasts URL=http://feeds.feedburner.com/Tartanpodcast BASEDIR=$MP3DIR/tartanpodcast pushd . mkdir -p $BASEDIR cd $BASEDIR # Get RSS Feed and extract urls of mp3s for mp3url in `curl $URL | grep -o 'url=\".*"' | cut -d \" -f 2 | uniq` ; do # Download mp3, if not already finished wget -c $mp3url done popd