How to let rsync detect file RENAMEs

Ben Stover bxstover at yahoo.co.uk
Thu May 20 08:07:06 MDT 2010


Assume I start with two absolutely equal directory trees.

Now I rename in one of the directory trees a file from aaa.txt to bbb.txt

How EXACTLY can I tell rsync to synchronize the other directory tree.

That means that in the other partner directory tree the missing file should be deleted and the new, renamed file should be copied?

This should work regardsless on which side/partner dir tree the rename took place.

Which parameters do I have to use?

Thank you
Ben




More information about the rsync mailing list