Execute wget under silent mode

Sometimes you may need to run the wget under a silent mode, means it will not display any output on the screen while executing. Usually the wget used to display a progress line when its downloading any file. If you want to hide that progress bar, just use -nv option from wget. nv stands for non verbose mode. An example,


wget "http://icfun.blogspot.com" -O test.html --nv &


This is very useful when you are executing this kind of command from your script. Sometimes you want to download a large file form your script, or shell and want to push the command as background process. This command will be helpful for you when that time.

Cheers!!

Comments

Trevor said…
The wget option is now -b, as in the help file...
Startup:
-V, --version display the version of Wget and exit.
-h, --help print this help.
-b, --background go to background after startup.
-e, --execute=COMMAND execute a `.wgetrc'-style command.
Trevor said…
Now the wget option is -b for "silent" use.
In GNU Wget 1.13.4 built on freebsd8.2.

Startup:
-V, --version display the version of Wget and exit.
-h, --help print this help.
-b, --background go to background after startup.
-e, --execute=COMMAND execute a `.wgetrc'-style command.
Anonymous said…
I don't think the author was looking for pure silent mode? In my case, I wanted the progress bar gone.. this took care of it while still leaving a brief download output, which was what I wanted. cool
Anonymous said…
You want -nv or --no-verbose

--nv is not valid
Anonymous said…
Don't really need the background, but yes, -nv saves me tons of time as the sshmanger I am using hung when using it to wget large progress output. -nv, just get rid of that verbose line.
Realtebo said…
My wget has the option --no-verbose in the help but simply ignores it ! Why?