Title: Curl.command
Created: 2013-11-13 05:19:26
curl will download or upload file(s) using http and ftp protocols. Is useful when a download keeps dropping out because you can restart it and not loose what you have already downloaded.
Initial download example:
curl --keepalive\-time 10 --output "/Users/ericswanson/Downloads/OWCFWUP82E.zip" http://download.macsales.com/OWCFWUP82E.zip
Restarting a download example:
curl -C - --keepalive-time 10 --output "/Users/ericswanson/Downloads/OWCFWUP82E.zip" http://download.macsales.com/OWCFWUP82E.zip
--keepalive-time secs
may not work on OS X according to the warnings you receive when you use it…
--output "file_name"
is where you want the download to go
http://...
is the source on the internet
-C -
tells curl to find the length already downloaded and restart there (capitol-C space dash)