Terminal Tip: Download Files CURL

This is a Re-Upload from my previous channel.

Terminal Tip: Download Files CURL

In this tutorial I will show you how to use Terminal to download files using the command [curl], also please note that I will also use [-LO] just after curl. Here is what -L does: -L follow link even is a redirect has been put in place. Here is what -O does: Tells curl to keep original file name from the server when it is download.

If you would like to specify a location for your file to be downloaded to rather then have it saved to the user account folder then simply do this first in terminal.

cd /Desktop So this way [cd] means Create Directory and [/Desktop] is where we want the file to be saved to once it is downloaded.

Example 1: curl -LO http://www.Site Name/file.zip

Example 2: cd ~/Desktop [hit return] then type curl -LO http://www.Site Name/file.zip

This entry was posted in Uncategorized. Bookmark the permalink.