using wget to grab all images from a web page
the command
wget -A.jpg -r -l1 -np http://www.mentallandscape.com/C_CatalogMoon.htm
explanation
-A: accept list. in this case we’re accepting all jpgs.-r: recursive-l: levels to recurse-np: no parent, i.e. do not go up in the directory tree.
more on wget
wget on mac os x
wget does not ship with mac os x. you can find a pre-compiled version of wget at status-q. if you don’t want to install wget, you might try out curl, which is already installed.
making curl behave like wget
curl http://url.com/remote.html -o local.html
this will output to a file, rather than printing to the screen.
* * *