How can I only display the progess panel with wget in the settings for strollers

I use wgetin bash scriptwhen I provide a ubuntucar with vagranthow

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

Since this file is large, the screen I see with a stroller looks 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 happens every time, and all important information is lost.

Is there any way I can only see the progess bar and no other information about the unwanted information every second

+4
source share
1 answer

The best you could do is use the option --no-verbose(or -nv):

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

This will disable all unimportant output (progress bar) from wget.

Or use --progress=bar:force:

wget --progress=bar:force https://www.example.com/test.zip -O test.zip

This will cause the output to look like this:

...
Python-3.5.0.tar.xz   7%[>                     ]   1013K   343KB/s             
Python-3.5.0.tar.xz  11%[=>                    ]   1,54M   346KB/s   eta 38s   
Python-3.5.0.tar.xz  14%[==>                   ]   1,99M   316KB/s   eta 38s   
Python-3.5.0.tar.xz  18%[===>                  ]   2,59M   306KB/s   eta 37s 
...
+3

All Articles