On Tue, May 23, 2006 at 11:40:48AM +0200, Andreas Fehr wrote:
> Well, I changed '-a' to '-rlpgoD' (according to the man page, it maps
> to '-rlptgoD'). But now it's worse.... each call of rsync copies all
> the files from source to new.

As Matt mentioned, this was fixed recently in CVS.  The fix can be
applied to 2.6.8 via the attached one-line patch.

..wayne..
--- generator.c 2006-04-17 23:38:58
+++ generator.c 2006-05-23 08:45:39
@@ -628,7 +628,7 @@ static int try_dests_reg(struct file_str
                case 2:
                        if (!unchanged_attrs(file, stp))
                                continue;
-                       if ((always_checksum || ignore_times)
+                       if (always_checksum && preserve_times
                         && cmp_time(stp->st_mtime, file->modtime))
                                continue;
                        best_match = j;
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to