5
1
I want wget to (attempt to) start downloading, then if isn't done after 10 seconds, I want it to give up.
wget --timeout 10 http://url
Seems like a reasonable try, but it seems like it only sets --dns-timeout, --connect-timeout, and --read-timeout. Thus, it could wait 9 seconds for dns, another 9 for connect and then keep downloading forever, as long as data keeps coming at a steady pace (no 10+ second pause).
That's one way to solve it, ugly as it is. – johv – 2012-02-25T12:55:22.253