I have a list of filenames (not urls) in a file, and I want to download them using --input-file option. How do I specify the url where those files will be fetched from?

1 Answer 1


Use the --base option:

wget -i file-of-filenames --base http://example.com/fetch/from/here/

You must log in to answer this question.

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