Skip to content

Instantly share code, notes, and snippets.

@geekpete
Created November 7, 2013 07:15
Show Gist options
  • Save geekpete/7350382 to your computer and use it in GitHub Desktop.
Save geekpete/7350382 to your computer and use it in GitHub Desktop.
Set and forget command for wget on slow links. Tell wget to retry if no data comes through for x seconds, to resume the file and to retry infinitely until it gets the file.
wget http://<whateverurl>/<whateverfile> -O <localdestinationfile> --continue --read-timeout=5 --tries=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment