xref: /aosp_15_r20/external/curl/docs/cmdline-opts/_OUTPUT.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<!-- Copyright (C) Daniel Stenberg, <[email protected]>, et al. -->
2*6236dae4SAndroid Build Coastguard Worker<!-- SPDX-License-Identifier: curl -->
3*6236dae4SAndroid Build Coastguard Worker# OUTPUT
4*6236dae4SAndroid Build Coastguard WorkerIf not told otherwise, curl writes the received data to stdout. It can be
5*6236dae4SAndroid Build Coastguard Workerinstructed to instead save that data into a local file, using the --output or
6*6236dae4SAndroid Build Coastguard Worker--remote-name options. If curl is given multiple URLs to transfer on the
7*6236dae4SAndroid Build Coastguard Workercommand line, it similarly needs multiple options for where to save them.
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Workercurl does not parse or otherwise "understand" the content it gets or writes as
10*6236dae4SAndroid Build Coastguard Workeroutput. It does no encoding or decoding, unless explicitly asked to with
11*6236dae4SAndroid Build Coastguard Workerdedicated command line options.
12