How to Download Files from Terminal in Mac OS X and View Its Progress

How to Download Files from Terminal in Mac OS X and View Its Progress

Although this isn’t a new tip, it’s one that you may not be aware of: you can download files from Terminal in Mac OS X.

If you are one who often downloads files from the Internet, it may be more convenient for you to do this from Terminal because you won’t need to leave your browser open. Plus, you can view the progress of the download and speed in real-time, which can be very handy – especially when downloading large files.

Open Terminal on your Mac and enter the following command:

curl -O URL

That’s a capital letter “O” – this is very important. Be sure to replace “URL” with the actual URL of the file that you want to download.

Download completed via Terminal in Mac OS X.

You can use cd ~Directory to change where the file is saved.

Note: This method saves files to the root of your home directory (ie. “/yourusername”). If you want to change the directory, you would first enter “cd ~Directory” in terminal (ie. cd ~Downloads), and then use the curl command.

via OSXDaily

Charnita Fance
Charnita Fance

Charnita has been a Freelance Writer & Professional Blogger since 2008. As an early adopter she loves trying out new apps and services. As a Windows, Mac, Linux and iOS user, she has a great love for bleeding edge technology. You can connect with her on Facebook, Twitter, Google+, and LinkedIn.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox