how can i properly display the curl progress in the dialog window?
curl http://mysite.corp/image/root_21.tar.bz2 | tar -C /mnt/dest/ -jxf -
i tried this command but as you can see it does not display it correctly.
curl -f -x '' -L http://mysite.corp/image/root_21.tar.bz2 | tar -C /mnt/dest -xjpf - --exclude='dev/*' | dialog --backtitle "dialog" --stderr --title 'Linux Image' --textbox /tmp/log 30 80
this command almost helps me but i want it to overwrite itself and not show me new line progress in each line. basically i want it to be the same as the original command shows it but in the dialog.
(curl -f -x '' -L http://mysite.corp/image/root_21.tar.bz2 | tar -C /mnt/dest -xjpf - --exclude='dev/*' ) 2>&1 | dialog --progressbox 20 120



Asked by Asaf Magen
(547 rep)
Sep 7, 2015, 09:12 AM
Last activity: Jun 8, 2025, 02:01 PM
Last activity: Jun 8, 2025, 02:01 PM