[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget logging



Andre Berger wrote:

* Rob Weir <rweir@softhome.net>, 2002-10-21 09:31 -0400:
On Mon, Oct 21, 2002 at 09:07:50AM -0400, Andre Berger wrote:
Is it possible to see wget's messages on the console, and at the same
time log them with "-a"? I haven't been able to figure that one out.
man tee?

And man wget. But I do something wrong since none of
$ wget -c $MYURL | tee -a $HOME/.wget.log
$ wget -c $MYURL -a | tee -a $HOME/.wget.log
$ wget -c $MYURL -o | tee -a $HOME/.wget.log

work. $HOME/.wget.log exists BTW.

-Andre
Why not do :

$ wget -c $MYURL -a | tail logfile
or
$ wget -c $MYURL > logfile | tail logfile






Reply to: