Displaying 1 result from an estimated 1 matches for "old_archive".
Did you mean:
bl_archive
2013 Jan 29
2
--compare-dest -- copy ONLY files with content-differences between 2 directories... to a third
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...