I have list of URLs with range in {}
. I can download them with cURL in bash, but problem is output. I can use #1, but I need to have files named with different names (I have stored those names in array). How can change output names for multiple files ?
I have tried o download file by file, but that is about 40% slower, than multiple download.
Best Answer
You can iterate over two arrays, one with your URLs to download and another with your desired filenames, launching subprocesses that will run in parallel to download the files.
Or try something like this if you want it to be similar to using {} w/ curl: