2

I have script that final stage is download files with curl. I need to show progress of downloading. When I type on terminal curl -# $url - O it work good. I use it with

while read line
do
"curl code"
done <url

In that case it start filling my screen with #. Default progress meter do that to. It start filling my screen with progress data. here is picture if you dont understand

progress bar

In curl documentation there writed that they fixed it.

İf I can't solve this problem how I can show only percentage of progress? It can cuted with sed but i don't know how.

Yusifx1
  • 101
  • 1
  • 9

1 Answers1

0

Regarding your question

How I can show only percentage of progress?

this seems not to be possible easily according CURL Progress Bar: How to pipe and extract numbers only using grep? or without a wrapper according curl progress - only show percentage.

U880D
  • 8,601
  • 6
  • 24
  • 40