newbie: how to allow wget to overwrite files

2001-09-28 Thread Hubert Ming



dear wget gurus
i'm a little new in this business so excuse my 
beginner question
on my suse-linux (wget 1.5.x) I download every 
night virus-signature-files. these files always have the same file-names even if 
they are updated by the software-manufacturer. now wget realizes that these 
files already exists on my destination download directory and adds an 
increment (.1, .2, .3) to the file name. how can i avoid this and overwrite the 
(old) files.
 
thanx alot
hubert


Re: newbie: how to allow wget to overwrite files

2001-09-28 Thread Ian Abbott

On 28 Sep 2001 at 9:48, Hubert Ming wrote:

> dear wget gurus
> i'm a little new in this business so excuse my beginner question
> on my suse-linux (wget 1.5.x) I download every night
> virus-signature-files. these files always have the same file-names 
even
> if they are updated by the software-manufacturer. now wget realizes 
that
> these files already exists on my destination download directory and 
adds
> an increment (.1, .2, .3) to the file name. how can i avoid this and
> overwrite the (old) files.

Either of the -x and/or -N options will stop that happening, at least 
with wget 1.7 (not sure about 1.5.x). They may have other effects you 
don't want (see man page).



Re: newbie: how to allow wget to overwrite files

2001-09-28 Thread Vladi Belperchinov-Shabanski

hi

  try:

  wget -m -nd http://www.google.com/images/about_logo.gif

  this will download about_logo.gif if changed and will not
  append .1 .2 etc...

P! Vladi.


> Hubert Ming wrote:
> 
> dear wget gurus
> i'm a little new in this business so excuse my beginner question
> on my suse-linux (wget 1.5.x) I download every night virus-signature-files. these 
>files always have the same file-names even if they are updated by
> the software-manufacturer. now wget realizes that these files already exists on my 
>destination download directory and adds an increment (.1, .2, .3)
> to the file name. how can i avoid this and overwrite the (old) files.
> 
> thanx alot
> hubert

-- 
Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Personal home page at http://www.biscom.net/~cade
DataMax Ltd. http://www.datamax.bg
Too many hopes and dreams won't see the light...


smime.p7s
Description: S/MIME Cryptographic Signature