Hi,

I'm having trouble with --compare-dest, to copy only files that differ in
content.

Here are the commands used thusfar:
rsync -av  --checksum --delete  --progress --stats --compare-dest=../old
new/ new_archive
rsync -av  --checksum --delete  --progress --stats --compare-dest=../new
old/ old_archive

old/
     a.txt

new/
     a.txt


Note: both a.txt are the same (except for a different timestamp).
a.txt contains just 2 characters: 'a' and '\n'

Now the problem: In the output I see a.txt get copied!!!
old_archive/
     a.txt

new_archive/
     a.txt

I do NOT want this!
Why is a.txt getting copied, when it is identical in its content?

Please can you help, so that only files that DIFFER IN CONTENT ONLY... get
copied.

Thanks.
John
-- 
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