Hi, I have two different FTP servers that I'd like to always have the same content. The problem is that there isn't one "primary" server that can push or pull the content from other server -- they both always have to have the same content and files can be added or deleted from either. Is there a way to use rsync to determine whether a file on one server should be added to the remote, or deleted from the local? Maybe there's another application that can manage something like this? I'm thinking this is probably something for "find -newer" and managing a list of files and comparing them on each side before deleting/adding? Thanks, Fred __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
On Wed, 1 Oct 2003, fred pasteck fred_pasteck-at-yahoo.com |Rsync List| wrote:> Is there a way to use rsync to determine whether a file on one server > should be added to the remote, or deleted from the local? > > Maybe there's another application that can manage something like this?Rsync is a one-way tool, for something like what you have in mind, I would look at Unison: http://www.cis.upenn.edu/~bcpierce/unison/ It's free/GPL and even works on Win32 systems. -- Steve