Created
March 18, 2015 13:01
-
-
Save ANTRat/293f8771f15814a8b363 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd "/srv/share/music_nomb/0_podcasts/Monstercat Podcast" | |
for url in `curl -s https://www.monstercat.com/podcast/feed.xml|grep enclosure|sed -e's/.*url="//' -e's/".*//'`; do | |
if [ ! -f `basename "$url"` ]; then | |
wget "$url" | |
fi | |
done | |
cd "/srv/share/music_nomb/0_podcasts/Panda Waves by The White Panda" | |
for url in `curl -s http://www.thewhitepanda.com/wp-content/uploads/2012/10/pandawaves.xml|grep enclosure|sed -e's/.*url="//' -e's/".*//'` ; do | |
if [ ! -f `basename "$url"` ]; then | |
wget "$url" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment