-o
or -O
that tell curl where to store the transfer), you may want to specify one option for each URL on the command line.--fail-early
option.-o
and -O
options instruct curl how to save the output for one URL of the URLs, so you might want to have as many of those options as you have URLs on the command line.--remote-name-all
flag will automatically make curl act as if -O
was used for all given URLs that do not have any output option.-:
, --next
) that inserts a boundary between a set of options and URLs for which it will apply the options. When the command-line parser finds a --next
option, it applies the following options to the next set of URLs. The --next
option thus works as a divider between a set of options and URLs. You can use as many --next
options as you please.--next
options on the command line would generate an illegal command line since curl would attempt to combine both a POST and a HEAD: