I'm trying to download images (.jpg) from web folder using wget. I want to download only images, which have a certain sentences in file name. This works fine
wget -r -nd -A .jpg http://www.examplewebsite.com/folder/
but I like to include a sentence eg. "john". I tried
wget -r -nd -A .jpg '*john*' http://www.examplewebsite.com/folder/
with no success. Any ideas how to proceed? Could this be implemented into a shell script (bash shell). I'm using Mac OSX 10.6.1.