¯\_(ツ)_/¯

thunder@home:~$

This is my home blog, mostly to share some useful info or code snippets
< 1 min

Heya,

Actially good finding for automation when you need to run wget but do not want to see progress bar.

wget -nv <url>

This will disable that huge progress bar percentage output but still display simple results:

2020-08-25 13:29:04 URL:https://releases.hashicorp.com/packer/1.6.1/packer_1.6.1_linux_amd64.zip [31141494/31141494] -> "-" [1]

And if it fail, output will be similar to this:

https://releases.hashicorp.com/packer/bad_version/packer_1.6.1_linux_amd64.zip:
2020-08-25 13:41:09 ERROR 403: Forbidden.

This command still exists with exit_code 0 though.

This option should not be added as usual to any other options. I mean, if you need to add others, add them separately: wget -nv -O <url>

Happy wgetting!

Thank You For Reading