Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to download all jpg files of URL "www.link.com". However the jpg download links start with "dl.link.com". When I use the following code, it does not download any file. I assume because the download links are different from the URL in the code. Any solution? Thanks.

wget -r -p -A .jpg" http://www.link.com
share|improve this question
    
You didn't mention the OS you are running this on (Windows/XNIX). Please provide your OS and OS Version details. – Kevin Fegan Mar 30 '13 at 7:56
    
I am using Windows 7 64bit. – Si14 Mar 30 '13 at 8:09
    
Is there an example you could provide that I could test against? – Vinayak Sep 7 '14 at 6:01

In the command line you provided:

wget -r -p -A .jpg" http://www.link.com

you have an unmatched double-quote-mark (") following .jpg
Perhaps you meant:

wget -r -p -A ".jpg" http://www.link.com

or

wget -r -p -A .jpg http://www.link.com
share|improve this answer
    
Thanks. Actually my typo! I tried all the combinations you mentioned. Unfortunately, still does not work! – Si14 Mar 29 '13 at 18:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .