Hi,<br><br>I'm having trouble with --compare-dest, to copy only files that differ in content.<br><br>Here are the commands used thusfar:<br>rsync -av  --checksum --delete  --progress --stats --compare-dest=../old new/ new_archive<br>
rsync -av  --checksum --delete  --progress --stats --compare-dest=../new old/ old_archive<br><br>old/<br>     a.txt<br><br>new/<br>     a.txt<br><br><br>Note: both a.txt are the same (except for a different timestamp).<br>
a.txt contains just 2 characters: 'a' and '\n'<br><br>Now the problem: In the output I see a.txt get copied!!!<br>old_archive/<br>     a.txt<br><br>new_archive/<br>     a.txt<br><br>I do NOT want this! <br>
Why is a.txt getting copied, when it is identical in its content?<br><br>Please can you help, so that only files that DIFFER IN CONTENT ONLY... get copied.<br><br>Thanks.<br>John<br><br>