As far as I know --force has no effect anymore because --delete was
redesigned since it was originally written (this is explained in the man
page).  At least I haven't been able to come up with any examples of where
it makes a difference.  -z certainly would have no effect on whether or not
files are deleted.

What might make a difference is the "--ignore-errors" option.  Hmm, I see
it is mentioned in the summary in the man page but not mentioned in details
section.  That's a man page bug.  Can you fix that, Martin?  The --delete
section of the man page does talk about being automatically disabled if
there are any i/o errors; --ignore-errors turns that off.

- Dave Dykstra

On Fri, Dec 15, 2000 at 09:44:44AM -0800, Dan Phoenix wrote:
> 
> 
> you tried --force at all? or -z?
> 
> 
> 
> On Fri, 15 Dec 2000, Ferran Jorba wrote:
> 
> > Date: Fri, 15 Dec 2000 12:50:17 +0100
> > From: Ferran Jorba <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: rsync doesn't delete files (over ssh)
> > 
> > I'm mirroring a whole Linux system, hoping that in the future
> > we can have a farm of identical systems from a master one.
> > 
> > Temporarily, I'm using --relative to see the results on an
> > Alpha OSF system.  The problem is that rsync doesn't delete
> > on the client the files removed on the server.
> > 
> > rsync \
> >         --verbose \
> >         --verbose \
> >         --verbose \
> >         --stats \
> >         --archive \
> >         --relative \
> >         --exclude /proc/ \
> >         --exclude /dev/ \
> >         --exclude /tmp/ \
> >         --cvs-exclude \
> >         --delete \
> >         --delete-exclude \
> >         --compress \
> >         --rsh=ssh \
> >         [EMAIL PROTECTED]:/ /home/fjorba/kiosk/obscured.uab.es
> > 
> > Tested both with rsync 2.3.2 and 2.4.6.
> > 
> > I've browsing thru the mail archives and the bugs database, and 
> > it seems to me that the --delete an --delete-exclude have subtle
> > dependencies/incompatibilites with other options, but I haven't
> > been able to find the correct ones.
> > 
> > Any ideas?
> > 
> > Thanks,
> > 
> > Ferran
> > 
> > 
> 
> 

Reply via email to