On Sun, Jan 25, 2004 at 02:05:21AM -0800, Wayne Davison wrote: > Here's a patch that makes rsync try to find an existing file in a > group of hard-linked files so that it doesn't create the first one > in the group from scratch if a later file could be used instead.
Here's a slightly improved version of this patch that moves some duplicated code into a function and ensures that the traditional "FOO is a hard link" message gets output for any link that we skip during the search (when verbose > 1, just as before): http://www.blorf.net/hlink-scan.patch ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html