This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Number of concurrent downloads | |
num_concurrent_downloads=9 | |
# Function to perform curl request | |
perform_curl() { | |
local url=$1 | |
local filename=$2 | |
printf "\nDownloading: $filename from $url\n" |