Trouble is that won't append to the same logfile since all three commands want to write to different logfiles and I end up with the progress indications stored in the logfile on my home dir - which could take up a lot of space...
I'd ideally like something like the log file operations that FTP_Lite uses, ie Just appends a single line to a nominated logfile - even if there is more then one process operating on the same directory, Rgds Mike At 11:54 AM 8/1/2002 +0200, you wrote: >you can easily get this info in this form with: > >`grep saved wget-log' > >which will extract this from you wget log file: > >02:08:32 (842.75 B/s) - `www.sth.net/convert2.gif' saved [1104/1104] >02:08:34 (1.26 KB/s) - `www.sth.net/coolaid.gif' saved [1173/1173] > >P! Vladi. > >Mike wrote: >> >> 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. > >-- >Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> >http://www.biscom.net/~cade >Now, sure as the sun will cross the sky, This lie is over >Lost, like the tears that used to tide me over... >Attachment Converted: "C:\MAIL\INCOMING\smime2.p7s" >
