Hi,
I had the same problem with rdist and could not find
any way how to do it through configuration or the
commandline. Therefore I patched rsync. You may
download a patched version from http://195.96.23.199/rsync/
Unfortunately neither Paul nor Andrew showed any
interrest for this patch, I am still waiting for any
reply.
Jacob
> -----Original Message-----
> From: Shez [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 03, 2000 8:50 PM
> To: Multiple recipients of list RSYNC
> Subject: Using rsync to delete a single file
>
>
> Hi there,
> I've been using rsync for propagating updates to a web
> farm for a while
> now. The model I took was to parse the ftp logs for accounts
> that were being
> updated and trigger an rsync on the whole home directory.
> This has been
> effective and reliable, but not as CPU, I/O and memory
> efficient as it could
> be, especially on home directories with a very large number of files.
>
> In an attempt to reduce these resource usage problems I want
> to rsync only the
> particular file that has been updated, rather than the whole
> directory. With
> modified and new files this is easy, but I can't work out how
> to get rsync to
> delete a single file - is this possible? I know I could use
> ssh to do this,
> but its a bit irritating to have to insert a special case for
> deletions.
>
> Can anybody help me with something I've missed?
> Cheers
> Shez
>
> --
> NSL NET Ltd, 26 Forth Street, Edinburgh, EH1 3LH, UK
> tel + 44 (0)131 477 8215 fax + 44 (0)131 477 8223 http://www.nsl.net
>