Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Downloading large files with cURL

man curl



# broken downloads will be resumed automatically
cd ~/Desktop; while ! curl -C - -O 'http://download.parallels.com/GA/Parallels%20Desktop%203186%20Mac%20en.dmg'; do sleep 10; done


# requires FTP to be enabled in your firewall configuration
cd ~/Desktop; while ! curl -L -C - -O 'http://mirror.ctan.org/systems/mac/mactex/MacTeX.dmg'; do sleep 10; done




Source: Download with cURL in a Loop Until Completed


« Newer Snippets
Older Snippets »
1 total  XML / RSS feed