How to Change the wget Progress Bar Type

The wget command-line utility uses a progress indicator to show downloading status, but its default look might not suit every environment or preference. You can easily switch between the traditional bar style and a simpler, dot-based display depending on whether you are monitoring the download visually or logging the output to a file. This can be achieved dynamically using a command line flag or permanently by editing your configuration file.

Using the Command Line Flag

The quickest way to change the progress indicator for a single download is by using the --progress option. This flag accepts two primary arguments: bar and dot.

Here is an example of forcing the dot style during a download:

wget --progress=dot https://example.com/largefile.zip

Adjusting the Bar and Dot Variations

Both styles offer minor customizations to better fit your terminal width or logging style.

Making the Change Permanent

If you prefer one specific progress indicator style for all your future downloads, you can save your preference in the wget configuration file.

  1. Open your personal configuration file (usually located at ~/.wgetrc) in a text editor.
  2. Add the following line to define your preference:
progress = dot
  1. Save and close the file. From then on, wget will default to your chosen style without requiring the flag every time.