I have a db of files to download containing fields for
download_url with the format:
"foo-1.23.4.jar", "http://example.com/files/12345678/download" "bar-5.67.8.jar", "http://example.com/files/9876543/download" "baz-3.31.jar", "http://example.com/files/42424242/download"
Where the urls tend to all be the same except for the number. I tried exporting the list of URLs and downloading these with
wget -i, but every file gets named
download, and I have no way to tell them apart.
Normally I would use the
-O parameter to specify the correct output file, but I'm not sure how to combine that with
How can I format the input file and command line to
wget -i such that each line can specify both a download url and an output filename?