Skip to content

Instantly share code, notes, and snippets.

@codehwang
Forked from philiparthurmoore/wget-alias.terminal
Created November 27, 2017 03:01
Show Gist options
  • Save codehwang/39b64692f425cf4c8117440edfce31fb to your computer and use it in GitHub Desktop.
Save codehwang/39b64692f425cf4c8117440edfce31fb to your computer and use it in GitHub Desktop.
Using a wget alias on Mac OS X
alias wget="curl -O --retry 999 --retry-max-time 0 -C -"
##
# Line should be placed at ~/.bash_profile
# Source: http://www.mymacosx.com/terminal/wget-replacement-macos.html
# Source: http://superuser.com/questions/142459/persistent-retrying-resuming-downloads-with-curl
##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment