thank you very much for you all. I will try your suggestion ,thx.
Best Regards --------------------------------------------- yhhuang 黄勇辉 Server Dept. TeleNav Shanghai Inc. Tel:(21)6337 2220 ext 8651 www.telenav.com -----邮件原件----- 发件人: Wayne Davison [mailto:[EMAIL PROTECTED] 发送时间: 2006年3月6日 23:46 收件人: Huang, YongHui 抄送: rsync@lists.samba.org 主题: Re: how to distinguish local add and remote delete? On Mon, Mar 06, 2006 at 10:49:55AM +0800, Huang, YongHui wrote: > I have a question about how to distinguish local add and remote delete? I just added this info to rsync's "resources" webpage: If you need a 2-way synchronization because both ends of the connection may be changing files, you may want to either look into a tool designed to do this (e.g. unison), or you may with to use an external wrapper for rsync that keeps extra data about what was in the last transfer so that it can figure out if a file is new or deleted (e.g. drsync). http://freshmeat.net/projects/unison/ http://freshmeat.net/projects/drsync/ ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html