Friday, August 12, 2011

Handy Terminal download in Mac OS

For 'Console geeks' as me there is a handy way to download any files from Internet by any CLI util. Linux has 'wget' pre installed.
On Mac OS 10.6 or 10.7 there is no pre installed utils like above. And if you have the guest computer, setup there anything is not a good idea. Lucky in Mac OS there is a 'curl' installed. So this short tip will show you how to do it on Mac OS.
The command is:
$ curl -C - -O http://theFileLinkForDownload
UPDATE:Safari is not a good download utility for large files. So, better to use the other programs for it. Many times the large file downloaded by Safari was corrupted.

No comments: