No, --force is only relevant without --delete, as the rsync man page now
says.
I believe Brian's problem is that --delete doesn't make sense with
--update.
- Dave Dykstra
On Fri, Mar 15, 2002 at 11:42:23AM -0700, tim.conway@philips.com
wrote:> I have a similar problem with rsync, though it's not consistent.
> sometimes, things just don't come over, and sometimes, things just
don't
> get deleted. Repeated runs usually correct it. If it's the case of a
> directory being replaced with a non-directory, you'll have to add
> "--force" to get it to happen. Hope it helps.
>
> Tim Conway
> tim.conway@philips.com
> 303.682.4917
> Philips Semiconductor - Longmont TC
> 1880 Industrial Circle, Suite D
> Longmont, CO 80501
> Available via SameTime Connect within Philips, n9hmg on AIM
> perl -e 'print pack(nnnnnnnnnnnn,
> 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
> ".\n" '
> "There are some who call me.... Tim?"
>
>
>
>
> "Stadler, Brian T" <bstadler@ukans.edu>
> Sent by: rsync-admin@lists.samba.org
> 03/14/2002 03:21 PM
>
>
> To: "'rsync@lists.samba.org'"
<rsync@lists.samba.org>
> cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
> Subject: (no subject)
> Classification:
>
>
>
> All, I am having some trouble and hope someone can help.
>
> I have any anonymous rsync server on a "master" web server. I
then have
> "client" web servers which use rsync to pull data off the master
to update
> their files. Problem, the client can update existing files and retrieve
> new
> ones but are unable to delete files locally which have been removed from
> the
> master server. I have listed the config files for the server and the
> clients below. Someone let me know if I'm missing something please.
I'm
> not on this list so please CC me on the replies.
>
> Greatly appreciated.
>
> ------
> rsyncd.conf
>
> logfile = /var/log/rsyncd.log
> lockfile = /var/run/rsyncd.lock
>
> [Ads]
> path = /usr/www/Content
> comment = Ads
> read only = Yes
> list = yes
> host allow = *.*.*.*/22 (asterisks just for privacy)
>
>
> ------
>
> script on client machines
>
> rsync -az --update --delete masterserverip::Ads/ /usr/www/Content
>
> ---
> Brian Stadler
> Information Systems
> Kansas University Athletics Corporation
> bstadler@ukans.edu
>
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
>
>
>
>
> --
> To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html