96

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
  • 961
  • 1
  • 6
  • 3

4 Answers4

94

You can use:

wget --no-verbose ...
wget -nv ...

to make wget less verbose. When I saw "less verbose" I mean that you get:

  • one printed line of text with the file name for each download
  • no progress bar
Trevor Boyd Smith
  • 2,635
  • 11
  • 42
  • 60
Ignacio Vazquez-Abrams
  • 111,361
  • 10
  • 201
  • 247
60

There's an answer on StackOverflow that does this:

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

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

For wget <1.16, use this excellent answer instead.

Michael
  • 999
  • 10
  • 16
  • 3
    should be the accepted answer as it relates to wget specifically. – cerd Jun 22 '17 at 22:47
  • 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 Feb 28 '20 at 13:40
  • 5
    In wget 1.14: `unrecognized option '--show-progress'` – Noam Manos Jun 25 '20 at 12:19
17

The following option works great to show minimum progress without complete silence like -q:

wget --progress=bar:force:noscroll https://repo.anaconda.com/...

For wget 1.16+, use -q --show-progress to show the progress bar only, as mentioned in an earlier answer.

wget -q --show-progress https://repo.anaconda.com/...
Michael
  • 999
  • 10
  • 16
Jonathan L
  • 271
  • 2
  • 4
6

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%
u1686_grawity
  • 426,297
  • 64
  • 894
  • 966