0

Specific image to be downloaded with wget

view story
linux-howto

http://www.unix.com – Hello All, I have gone through Google and came to know that we can download images from a site using wget. Now I am been asked to check whether an image is populated in a site or not. If yes, please send that image to an address as an attachment.. Say for example, the site is Wiki - Wikipedia, the free encyclopedia and image to be downloaded is 220px-Ward_Cunningham_-_Commons-1.jpg but when I use the below command, this retrieves all the images in the site and its sublinks. Code: wget -r -A jpeg,jpg http://en.wikipedia.org/wiki/Wiki It creates a directory from wher (HowTos)