On Thu, Nov 15, 2007 at 10:29:58PM +0100, Lucas Meijer wrote:
> mkdir a b c
> echo foo > a/test
> echo foo > b/test
> rsync -av --compare-dest=../b a/ c/
The two test files don't match in their preserved attributes. They must
either have the same mtime, or you must not ask rsync to preserve times
Hey Matt,
Relative --*-dest paths are interpreted relative to the destination
directory (as stated in the man page), so you should use:
rsync -av --compare-dest=../b a/ c/
tried that too, same result for me:
mkdir a b c
echo foo > a/test
echo foo > b/test
rsync -av --compare-dest=../b a/ c
On Thu, 2007-11-15 at 15:41 +0100, Lucas Meijer wrote:
> Can anybody spot my mistake?
>
> mkdir a b c
> echo foo > a/test
> echo foo > b/test
> rsync -av --compare-dest=b a/ c/
Relative --*-dest paths are interpreted relative to the destination
directory (as stated in the man page), so you should
Hey.
Can anybody spot my mistake?
mkdir a b c
echo foo > a/test
echo foo > b/test
rsync -av --compare-dest=b a/ c/
Expected results:
no copy of a/test to c/test, since it is already present in b.
Actual results:
a/test gets copied to c/test
What is wrong here? My expectation? my syntax? I'm