I am using Terminal to wget
images from a list of urls in a text file, using the command: wget -i septweetsimages.csv
.
When the operation hits url and can't connect to its server, Terminal continues in an infinite loop to try to connect, prompting the following result:
"Connecting to wtim.es (wtim.es)|69.58.188.49|:80... failed: Operation timed out.
Retrying."
How can I get the process to continue on to the next url in the list after say 2 failed connections?
Best Answer
Please run "man wget" in Terminal and view the description for the option "--tries". Example shown includes "--tries=10".