-
-
Save daef/73c3c0953d544089f9824652601b4408 to your computer and use it in GitHub Desktop.
Make a curl behave like wget with an alias
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias wget="curl -L -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
wget follows redirects, curl doesnt without -L