I can download images using wget if I download from a website. But I have several links and I have saved them in a text file.

For example:

wget -r -A.jpg -np www.fragrancenet.com

There are so many pictures on this website. I have saved the links for the particular pictures I want:




The links are saved in a text file named images.txt in my computer.
How can I download the links in the images.txt text file using wget?


Use this command:

wget -i images.txt


wget --input-file=images.txt

It will save the images in your current directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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