makeurls.sh to generate urls from a directory listing