2 ms·
or: wget -r -np -nd -A.mobi -erobots=off http://hewgill.com/~greg/stackoverflow/ebooks/ r = recursive np = don't follow up to parent nd = don't recreate d
by nikcub 16y ago
or:
wget -r -np -nd -A.mobi -erobots=off http://hewgill.com/~greg/stackoverflow/ebooks/
r = recursive
np = don't follow up to parent
nd = don't recreate directories locally
A = file extensions to dl
erobots = ignore robots, for some reason this site blocks wget
also, -i filename.txt will grab a list of urls for a file and download them, so no need for 'wget <url>'. adding -F will treat that local file as HTML and grab all the links out of it for download.