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