Hi Chaps,                       Happy New Year !

Is there a way to generate a simple logfile which just
has:-

Date, URL, saved successfully

For subsequent uses of wget, such that I can say issue
wget from the command line such as:-

wget -b http://www.domain.com/file1.zip
wget -b http://www.domain2.com/subdir/file2.zip
wget -b ftp://server.net/subdir1/subdir2/file3.zip

and have the logfile look something like:-

11:00 8 Jan 2002  http://www.domain.com/file1.zip   Saved file1.zip
(2024303bytes)
11:08 8 Jan 2002  http://www.domain2.com/subdir/file2.zip  Saved file2.zip
(1024262bytes)
12:01 8 Jan 2002  ftp://server.net/subdir1/subdir2/file3.zip Saved
file3.zip (11,201,134 bytes)

Or something like:-

11:00 8 Jan 2002  http://www.domain.com/file1.zip   2024303bytes
11:08 8 Jan 2002  http://www.domain2.com/subdir/file2.zip 1024262bytes
12:01 8 Jan 2002  ftp://server.net/subdir1/subdir2/file3.zip 11,201,134 bytes

Since the file name is usually redudant,

I take it I would have to put my own wgetrc in my directory to supersede the
system one as wget is on an ISP's system directory and I don't have my own
wget,

I'm just not that acquainted with linux/unix and not sure how to coinfigure
the
wgetrc or if I should use a command line switch instead ?



Kind Regards  ~`:o)

Mike Massen
Network Power Systems
Perth, Western Australia  Ph/Fx +61 8 9444 8961

Power system in Jungle, Twin tyre car, Differential gauge
http://members.iinet.net.au/~erazmus/index.html

Some say there is no magic but, all things begin with thought then it becomes
academic, then some poor slob works out a practical way to implement all that
theory, this is called Engineering - for most people another form of magic.

Reply via email to