Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm downloading about 100 files right now with the 'default' configuration on wget. I'm stuck on one package (I suspect the package has moved) and wget keeps retrying. I figured that after 3 or so tries it would move on to the next URL, but it isn't.

I'm on try number 7 and I've been waiting about 20 minutes. If I do have to restart the wget script, will it skip the packages I already have?

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can specify the max number of tries using -t # or --tries=#. You can also add -nc or --no-clobber to your wget commandline, which will prevent it from overwriting existing files.

http://www.gnu.org/software/wget/manual/html_node/Download-Options.html#Download-Options

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.