I must be seriously misunderstanding the man page coverage of
--compre-dest.  My take was that if a file  in compare-dest=dir
matches a file in SOURCE/ then it won't be transferred to DEST/.

I tried this test. (d1 has single files and 2 subdir with files)

   cp -a d1 d1a

   mkdir d2

rsync -avv --compare-dest="./d1a" d1/ d2/

d1a is carbon copy of d1 but still every last file in d1 is copied to
d2. 

>From man rsync at the explanation of compare-dest:

  . . . . . . . . . . . . . . . . . .If a file is found in DIR
  that is identical to the sender's file, the file will NOT be
  transferred to the destination directory.  This is useful for
  creating a sparse backup of just files that have changed from an
  earlier backup.

Where am I stripping a gear on this?

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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