cURL Cheat Sheet/Parallel downloads

Download multiple URLs in parallel.

Section: Forms and Upload

Parallel downloads

bash
bash
curl --parallel --parallel-max 4 -O https://example.com/a.iso -O https://example.com/b.iso
Explanation

curl supports parallel transfers in recent versions.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Forms and Upload
Resume a download
Continue downloading from where a file left off.
OpenIn sheetbashsame section
Request a byte range
Download only a specific byte range from a resource.
OpenIn sheetbashsame section
Submit a multipart form field
Send a simple form field using multipart/form-data.
OpenIn sheetbashsame section
Upload a file via multipart form
Attach a file as a multipart upload.
OpenIn sheetbashsame section
Upload a file with explicit content type
Specify the filename part and content type.
OpenIn sheetbashsame section
Upload a file with PUT
Send a local file as the request body with PUT.
OpenIn sheetbashsame section