bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] Feature Request for non STDOUT Output


From: Quintin Beukes
Subject: [Bug-wget] Feature Request for non STDOUT Output
Date: Sun, 7 Dec 2008 02:57:37 +0200

Hey,

Many times I run complex commands to automate tasks, and due to the nature of these commands I log the output of them. As an example, the command that gave me this idea is as follows

export MODELDIR=$PWD ; for x in coref namefind parser; do cd "$MODELDIR/$x"; echo "$x" >> "$MODELDIR/download.log"; wget -c `<list` >> "$MODELDIR/download.log" 2>&1; done; cd "$MODELDIR"

Since it downloads a lot of files from lists, and can take quite long. Doing this I would want a log of any failures, and normal terminal output history won't cut it.

But even though it's a log I open a second terminal and tail-follow this file.

So, I'm using it as a log for reference when I move away from the computer, but ALSO as output to watch it's status.

The output looks like this:
 4600K .......... .......... .......... .......... .......... 94%   30.13 KB/s
 4650K .......... .......... .......... .......... .......... 95%   29.28 KB/s
 4700K .......... .......... .......... .......... .......... 96%   24.13 KB/s


What's missing though is an "ETA" for completion like STDOUT has.

I didn't see a switch for it in the man page, so if it's there I apologize.
--
Quintin Beukes

reply via email to

[Prev in Thread] Current Thread [Next in Thread]