Wednesday, November 13, 2013

wget missing from OS X

This will be one of the shortest blog posts ever. 

wget is installed by default on OS X, they just misspelled it. Instead of:

wget www.example.com/file.txt

They spelled it

curl -O http://www.example.com/file.txt

Jerks. 

I'm kidding of course- I know that curl isn't wget, but for most purposes this will work just fine. If this saves someone from trying to figure out how to install wget on OS X when they can just use curl then I just saved a chunk of somebody's time. I imagine you could even alias it if you have some scripts that use wget. 

You're welcome.  Or I'm sorry, depending on the situation.