Wget to print errors, but nothing otherwise

wget

How can I have wget print errors, but nothing otherwise?

In the default behavior, it shows a progress bar and lots of stuff.

In the –no-verbose version still prints one line per downloaded file, this I don't want.

The –quiet option causes it to be totally quiet, even in the case of an error, it doesn't print anything.

Is there a mode in which it prints errors, but nothing else?

Best Answer

There are very good answers in this question, be sure to check them out, but what I've done is this:

wget [wget options] 2>&1 | grep -i "failed\|error"
Related Topic