I have a text file of URLs, each in the form of:
I want to download all of these, but save each file under the name:
In other words, for each file, I want to save the file under its original filename prefixed by the name of its parent directory.
How would I go about doing this on Windows?
I'm fine with using a command line tool, such as wget or curl, just give me the arguments.