I want to download a file with Wget, but per the usual UNIX philosophy, I don't want it to output anything if the download succeeds. However, if the download fails, I want an error message.
The -q
option suppresses all output, including error messages. If I include -nv
option instead, Wget still prints (on stderr):
2012-05-03 16:17:05 URL:http://example.net/ [2966] -> "index.html" [1]
How can I remove even that output, but still get error messages?