echo $LIST | xargs -I{} -n 1 -P 8 sh -c 'curl -o backup.dump http://url.com'
I am running this for a large amount of files (around 300). After a while, sometimes curl hangs and won't progress for a file. This is problematic because these are all important database dumps. Is there anyway to automatically reset or restart the hanging transfer?