Web Dev Notes

Blog about web development by Robert Dawson

Get wget on a Mac

The Mac doesn't come with wget, but you can easily make an alias called "wget".

Instructions

  1. Open Terminal.
  2. Type "cd ~/" to make sure you're in your user directory.
  3. Type "echo 'alias wget="curl -O"' >> ~/.bash_profile" to create a persistent alias.
  4. Restart Terminal.
  5. Go to a directory where you want to download a file.
  6. Type "wget http://www.myurl.com/myfile.pdf" and begin downloading!

Reference