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[01-24].mp3

Man page is available at:


  1. 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.

  2. Thanks for the tip. That -O parameter worked for me 😛

  3. Or you could just download and install wget.

    Step 1 and 2 deal with that here:

    Install PHP 5.3, Apache2, GD, MySQL 5.1 on OSX Leopard (10.5.7)


Submit a Comment

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