Você precisará de um arquivo preenchido com links.
#!/bin/bash LIST="list.txt" for row in 'cat $LIST'; do wget -x $row sleep 5 done
Homem:
‘-x’ ‘--force-directories’ The opposite of ‘-nd’—create a hierarchy of directories, even if one would not have been created otherwise. E.g. ‘wget -x http://fly.srk.fer.hr/robots.txt’ will save the downloaded file to fly.srk.fer.hr/robots.txt.