MISC: copying all links from an apache dir-listing page

it's doable with a simple shell function (to put in your ~/.bashrc for example):

function dumphttplinks() {
        lynx -dump "$1" | awk '/http/{print $2}' > temp.txt
        grep 'mp4\|flac' temp.txt > list.txt
        rm temp.txt
}
alias dump=dumphttplinks

The grep line will search for any line containing any of the specified words (here mp4 and flac, but you can add whatever you want) and put them into a list.txt file, to only get exactly what needed.