I don't want to see any message when I use wget
. I want to suppress all the output it normally produces on the screen.
How can I do it?
You can use -nv or --no-verbose to make wget less verbose, but it won't show download progress in that case. Show activity on this post. --show-progress will override the "quiet" flag.
In many shells, CTRL+C will cancel the currently-running process. If you are running a Linux shell, pkill -9 wget should be able to force-kill it if it's running in the background.
Showing Progress Bar Only. The -q option turns off the wget output, and the –show-progress option forces wget to display the progress bar in any verbosity. Note that the –show-progress option is only available since GNU wget 1.16.
The wget tool is essentially a spider that scrapes / leeches web pages but some web hosts may block these spiders with the robots. txt files. Also, wget will not follow links on web pages that use the rel=nofollow attribute. You can however force wget to ignore the robots.
Why don't you use -q
?
From man wget
:
-q --quiet Turn off Wget's output.
$ wget www.google.com --2015-05-08 14:07:42-- http://www.google.com/ Resolving www.google.com (www.google.com)... (...) HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ‘index.html’ [ <=> ] 17,913 --.-K/s in 0.01s 2015-05-08 14:07:42 (1.37 MB/s) - ‘index.html’ saved [17913]
And:
$ wget -q www.google.com $
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With