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
Or you could just download and install wget.
Step 1 and 2 deal with that here: http://kevinkorb.com/post/24
Install PHP 5.3, Apache2, GD, MySQL 5.1 on OSX Leopard (10.5.7)
Thanks for the tip. That -O parameter worked for me 😛
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.