xref: /aosp_15_r20/external/curl/docs/cmdline-opts/progress-bar.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerShort: #
5*6236dae4SAndroid Build Coastguard WorkerLong: progress-bar
6*6236dae4SAndroid Build Coastguard WorkerHelp: Display transfer progress as a bar
7*6236dae4SAndroid Build Coastguard WorkerCategory: verbose global
8*6236dae4SAndroid Build Coastguard WorkerAdded: 5.10
9*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
10*6236dae4SAndroid Build Coastguard WorkerScope: global
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - styled-output
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - -# -O $URL
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--progress-bar`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerMake curl display transfer progress as a simple progress bar instead of the
20*6236dae4SAndroid Build Coastguard Workerstandard, more informational, meter.
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard WorkerThis progress bar draws a single line of '#' characters across the screen and
23*6236dae4SAndroid Build Coastguard Workershows a percentage if the transfer size is known. For transfers without a
24*6236dae4SAndroid Build Coastguard Workerknown size, there is a space ship (-=o=-) that moves back and forth but only
25*6236dae4SAndroid Build Coastguard Workerwhile data is being transferred, with a set of flying hash sign symbols on
26*6236dae4SAndroid Build Coastguard Workertop.
27