From 6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217 Mon Sep 17 00:00:00 2001 From: yvesf Date: Sat, 16 Jul 2011 11:49:01 +0200 Subject: reorganize files; add micromusic download --- micromusic/dl.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 micromusic/dl.sh (limited to 'micromusic') diff --git a/micromusic/dl.sh b/micromusic/dl.sh new file mode 100755 index 0000000..15081b6 --- /dev/null +++ b/micromusic/dl.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +get_random_name() { + # holt dateiname ohne .swf + wget -q -O - "http://micromusic.net/" | sed -ne 's/.*name="strFilename" value="\(.*\).swf".*/\1/p' +} + +while true; do + name="`get_random_name`" + if [ -f "$name.mp3" ]; then + echo "already there $name" + sleep 500 + continue + fi + wget -c "http://micromusic.net/micromusic_db_data/files/MP3/$name.mp3" +done -- cgit v1.2.1