To resume a broken download using curl, use the “-C -” option in your curl command, which tells curl to continue downloading from where it previously left off. For example:
curl -C - -o downloaded_file.zip http://example.com/downloads/large_file.zip
This will start downloading large_file.zip
from http://example.com/downloads/
and save it as downloaded_file.zip
on your local machine. If the download was previously interrupted, curl will automatically resume from where it left off, saving time and bandwidth.