mp3=$(lynx -dump http://server1.cyberciti.biz/media/index.html | grep 'http://' | awk '/mp3/{print $2}') for i in $mp3 wget $i done