Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 at 6:01

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.