How to download an internet file with MacOSX Terminal

Well, it’s very simple indeed ^_^
Macosx do not contains wget by default so we are using curl.

$ curl -C – -O http://mygreatfile