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 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

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?

share|improve this question

Use this command:

wget -i images.txt


wget --input-file=images.txt

It will save the images in your current directory.

share|improve this answer

You must log in to answer this question.

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