Is this correct behavior?

File `foo' gets overwritten with directory `foo', 
even though --ignore-existing is given.


% rsync --version
rsync  version 3.0.0pre10  protocol version 30.PR17
Copyright (C) 1996-2007 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, no ACLs, xattrs, iconv, no symtimes

% mkdir src

% mkdir src/foo

% mkdir dst

% echo bar > dst/foo

% cat dst/foo
bar

% rsync -r --ignore-existing src/ dst

% cat dst/foo                        
cat: dst/foo: Is a directory

% ls -l dst 
total 4
drwxrwx--- 2 x05_sny x05_sny 4096 Feb 22 14:06 foo

Attachment: pgpNzg3MRVkaB.pgp
Description: PGP signature

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to