Created
January 13, 2010 10:13
-
-
Save mhl/276086 to your computer and use it in GitHub Desktop.
Tiny eMusic Download Script
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 | |
if [ $# -ne 1 ] | |
then | |
echo Usage: $0 "<path-to-download.emx>" | |
exit 1 | |
fi | |
for i in $(xml_grep 'TRACKURL' $1|sed 's/.*\(http.*mp3\).*/\1/'|egrep http) | |
do | |
wget $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment