Getting WGET to display a less verbose output

37

6

Is it possible to get WGET to only show download progress e.g. download bar, opposed to all of the connection info, as it does look a little ugly on the client side, is this possible to do?

Jay

Posted 2011-06-16T13:04:44.207

Reputation: 371

Answers

50

You can use -nv to make wget less verbose, but it won't show download progress in that case.

Ignacio Vazquez-Abrams

Posted 2011-06-16T13:04:44.207

Reputation: 100 516

This doesn't show the progress bar... – JoeNahmias – 2019-08-05T14:04:52.553

24

There's an answer on StackOverflow that does this:

wget -q --show-progress http://example.com

--show-progress will override the "quiet" flag.

Michael - Where's Clay Shirky

Posted 2011-06-16T13:04:44.207

Reputation: 491

1should be the accepted answer as it relates to wget specifically. – cerd – 2017-06-22T22:47:42.377

This answer still makes it spam the stdout with a gigantic progress bar. In the comments of the answer you linked however there's a solution, together with -q and --show-progress, you should add: --progress=bar:force:noscroll – Vinícius M – 2020-02-28T13:40:59.720

7

Try curl instead...

$ curl "http://curl.haxx.se/download/curl-7.21.6.tar.lzma" -o nul
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 11 1838k   11  213k    0     0   7996      0  0:03:55  0:00:27  0:03:28 18096

...or curl -#:

$ curl "http://curl.haxx.se/download/curl-7.21.6.tar.lzma" -o nul -#
#########                                                                 13,3%

user1686

Posted 2011-06-16T13:04:44.207

Reputation: 283 655