Earlier today, I wanted to download all songs by this totally kick-ass rap outfit:
wget -q -O - http://www.assheads.nl/dehuilenderappers/?p=nummers \ | sed --quiet -e 's#^.*<a href="\(nummers/.*\.mp3\).*$#\1#p' \ | sort -u \ | wget -i - -B 'http://www.assheads.nl/dehuilenderappers/'
The same command-line, now using GNU long options to increase readability:
wget --quiet --output-document=- http://www.assheads.nl/dehuilenderappers/?p=nummers \ | sed --quiet --expression='s#^.*<a href="\(nummers/.*\.mp3\).*$#\1#p' \ | sort --unique \ | wget --input-file=- --base='http://www.assheads.nl/dehuilenderappers/'
Recent Comments