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 use this code to download :

wget -m -k -H http://www.digu.com

but if some file cant be download , it will retry Again and again ,

so how to skip this file and download other files ,

thanks

share|improve this question

migrated from stackoverflow.com Mar 14 '11 at 14:20

This question came from our site for professional and enthusiast programmers.

    
Doesn't the rsync client tool also work in this space? –  Paul Mar 14 '11 at 7:59

1 Answer 1

up vote 2 down vote accepted

You could try the --tries option to wget. With it you can limit the number of retries for a file. See the wget documentation.

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.