--ignore-existing not as expected

Matt McCutchen matt at mattmccutchen.net
Mon Mar 17 15:49:18 GMT 2008


On Fri, 2008-02-22 at 17:14 -0500, Matt McCutchen wrote:
> On Fri, 2008-02-22 at 14:19 +0100, Lasse Kliemann wrote:
> > Is this correct behavior?
> > 
> > File `foo' gets overwritten with directory `foo', 
> > even though --ignore-existing is given.
> 
> I had never thought about this case, but probably --ignore-existing
> should stop rsync from replacing directories with non-directories or
> vice versa.

Wayne has beaten me to it and implemented this in the current
development rsync.

Matt



More information about the rsync mailing list