Use cURL instead of wget on Mac OS X

I use wget all the time on my Linux machines, but was surprised to find it missing on my MacBook Pro. Since Mac OS is based on BSD, it uses cURL instead. Here’s a good way to scrape files from a remote server.

curl -O http://www.gutenberg.org/files/21171/mp3/21171-[01-24].mp3

Man page is available at: http://curl.haxx.se/docs/manpage.html

3 thoughts on “Use cURL instead of wget on Mac OS X

  1. Big Dan says:

    Thanks for the tip. For quite some time, I’ve been installing Xcode in order to install wget on OS X. It seemed like a waste to use 1.5GB of space just to get wget as I have no other use for X code but I could never get curl to work. Now, I know to use -O parameter.

Leave a Reply

Your email address will not be published. Required fields are marked *