xref: /aosp_15_r20/external/curl/docs/cmdline-opts/parallel.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Short: Z
5Long: parallel
6Help: Perform transfers in parallel
7Added: 7.66.0
8Category: connection curl global
9Multi: boolean
10Scope: global
11See-also:
12  - next
13  - verbose
14  - parallel-max
15  - parallel-immediate
16Example:
17  - --parallel $URL -o file1 $URL -o file2
18---
19
20# `--parallel`
21
22Makes curl perform all transfers in parallel as compared to the regular serial
23manner. Parallel transfer means that curl runs up to N concurrent transfers
24simultaneously and if there are more than N transfers to handle, it starts new
25ones when earlier transfers finish.
26
27With parallel transfers, the progress meter output is different than when
28doing serial transfers, as it then displays the transfer status for multiple
29transfers in a single line.
30
31The maximum amount of concurrent transfers is set with --parallel-max and it
32defaults to 50.
33