Multiple File Download
I need a really simple program (or a script?) that downloads multiple files with one command.
I want to be able to enter a file name, and then download five different URLs with that file name in them. For example: Entering "1234" would download the following files: http://www.asdf.com/1234 http://www.sdfg.com/1234 http://www.hfdf.com/1234 http://www.hfdd.com/1234 http://www.ryte.com/1234 http://www.dtyf.com/1234 http://www.hjtt.com/1234 Does this make sense? I'm sure there's a more efficient way than to type in the wget command manually for all different URLs? Thanks. |
A simple loop is all you should need. I believe this will work, but it's untested.
Code:
#!/bin/bash |
Awesome. Thank you.
|
All times are GMT -5. The time now is 12:15 AM. |