> 
> I am using wget 1.5.3 to mirror two sites. I would like the slave site to be an
> exact copy of the source site. Since the source site is actively updated by
> both changing and deleting files, I need a way to tell wget to delete files from
> the slave site when the same file has disappeared from the source site. So
> far, I've not found a way to do this. Can wget delete orphan files during the 
> mirroring process?

For this type of mirroring - you may also like to explore
using rsync (free open source)

  http://rsync.samba.org

  http://www.ccp14.ac.uk/ccp14admin/rsync/

This can be far more effective than using FTP or HTTP
mirroring.  The algorithm is open source so there
is no reason why it cannot be added into WGET.

Lachlan.

-- 
Lachlan M. D. Cranswick

Collaborative Computational Project No 14 (CCP14)
    for Single Crystal and Powder Diffraction
Daresbury Laboratory, Warrington, WA4 4AD U.K
Tel: +44-1925-603703  Fax: +44-1925-603124
E-mail: [EMAIL PROTECTED]  Ext: 3703  Room C14
                           http://www.ccp14.ac.uk

After 10th January 2001 - visiting:
   CSIRO Division of Minerals, Bayview Ave, Clayton, 
       Melbourne, Victoria, Australia, 3168
  CSIRO Tel: (613) 9545-8500 - Switch
  CSIRO Tel: (613) 9545-8802 - Direct
  CSIRO Fax: (613) 9562-8919  (made c/o Ian Madsen)

Reply via email to