--ignore-existing not as expected

Matt McCutchen matt at mattmccutchen.net
Fri Feb 22 22:14:06 GMT 2008


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.  I will work on a patch for this along with some other
issues with --ignore-existing and --ignore-non-existing that I have been
meaning to address.

Matt



More information about the rsync mailing list