How can only display progess bar with wget in vagrant provisioning

I am using wget in bash script when i provision ubuntu machine with vagrant like

wget https://www.example.com/test.zip -O test.zip

As this file is big the screen which i see with vagrant is like this

==> default: 569600K .......... .....
==> default: ..... .......... .
==> default: ......... .......
==> default: ... 47% 1.18M 47m34s
==> default: 569650K .......... ...
==> default: ....... .........
==> default: . .......... .....
==> default: ..... 47% 75.4K 47m34s
==> default: 569700K .......... .
==> default: ........
==> default: . .......
==> default: ... .......... ...
==> default: ....... 47% 41.9M 47m34s
==> default: 569750K .........
==> default: . .......... .....
==> default: ....
==> default: .
==> default: ...
==> default: ....... .
==> default: ......... 47% 42.8M 47m34s
==> default: 569800K .......
==> default: ... .......... ...
==> default: ....... .
==> default: ........

This keep coming every second and all important information is lost.

Is there any way i can see only progess bar and no other junk information every second


Source: ubuntu

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.