I want to display a progress bar for curl
using a dialog
/whiptail
--gauge
box like:
curl -#OL https://website/myfile 2>&1 | \
??? stdbuf -o0 awk '???' ? | \
| whiptail --gauge "Downloading the file..." 6 64 0
I've found a solution for wget
here, that is very nice but i'm still searching a solution for curl
. I've tried also to use this, no success.
Does anybody knows how to do a dialog
/whiptail
--gauge
progress bar for curl
?