Hiya Dan,
Thanks for replying, yeah I mean gnu.org when I say you, though by
implication also all those who take part in the gnu project - remember I'm
emaling a complete stranger who I only know by a gnu.org email address.
One of things that I thought might be useful is a time to download only, for
say using in an hourly cronjob to test the performance of the server and
network, ie - just the time taken, a pure number eg 3.2 . No need to save
the file, though obviously it has to actually be downloaded onto the client.
I guess I can remove the content myself with wget -O - www.my.url >
/dev/null .
So, perhaps a --time option so that
wget -q --time -O - wget www.my.url >/dev/null
will display the time taken to download with no other output. This leaves
the user responsible for removing the downloaded file and the other output.
So perhaps
wget --time_only www.my.url
to output the time taken and no status info and no file to deal with.
Something similar with the file size might also be useful, users can then
check that a file is exactly what they expect, and the terse output lends
itself to cronjobs and scripts.
Just some suggestions, hope they inspire.
My flatmate ( a very hairy gnu freak ) insists I must put something back
into the free software world. When my search engine ranking script is more
substantial and more reliable I'll send it in ( maybe users will actually
appreciate it, though I don't really see myself as more than a amateur coder
and find it difficult to believe that the gnu techies would be interested in
anything I make. )
Cheers
Simon Clewer
Birmingham Europe
ps for cheap auto insurance visit www.superquote.com
----- Original Message -----
From: Dan Harkless <[EMAIL PROTECTED]>
To: catchall <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 12:54 AM
Subject: Re: wget suggestions.
>
> "catchall" <[EMAIL PROTECTED]> writes:
> > Hiya Folks,
> >
> > Congratulations on bringing wget to the world.
> >
> > A couple of suggestions that might make it even better
> >
> > a: An option to output only the time to download ( for performance
> > testing ).
> >
> > b: An option to output only the size of the file retrieved.
>
> Can you give an example of the output you're looking for? I'm not quite
> sure what you have in mind, and whether by "only" you mean it shouldn't
> actually save the downloaded files, etc.
>
> > I've just written a collection of bash scripts to get the page ranking
of a
> > given url on a given search engine for a given search string, it makes
> > considerable use of wget.
> >
> > If you want a copy, please ask, though I'm sure that there is already
better
> > stuff out there doing the same job.
> >
> > I have a commercial website ( www.superquote.com and
www.superquote.co.uk )
> > for uk and usa car insurance quotes, and it's all done with gnu/linux.
> >
> > From my program I can tell you that you rank on page 2 of google for
"linux
> > kernal". I tried lots of other sensible search strings, but you were on
> > page one for most of them, which is not telling you much.
>
> Who do you mean by "you"? www.gnu.org? (Most of the Wget community is
not
> directly affiliated with GNU, though it is, of course, a GNU project.)
>
> ---------------------------------------------------------------
> Dan Harkless | To help prevent SPAM contamination,
> GNU Wget co-maintainer | please do not mention this email
> http://sunsite.dk/wget/ | address in Usenet posts -- thank you.