rsync re-link instead of delete/copy?
hashproduct+rsync at gmail.com
Sun Sep 17 20:37:20 GMT 2006
On 9/17/06, Allasso <kevinhj at imap.cc> wrote:
> Whenever a folder has been renamed or moved on the source, rsync will delete
> all the recursive files on the destination filesystem, and then recopy them
> to the newly named/moved folder. This can take a long time.
> Is there a way to get rsync to simply re-link the files instead?
I think the --detect-renamed option provided by the experimental patch
detect-renamed.diff does what you want, although it might have a
performance penalty. To test the option, you will need to compile
your own copy of rsync from source after applying the patch.
More information about the rsync