Bug: in 2.6.1

Gordon Lack gml4410 at ggr.co.uk
Fri Sep 17 13:24:26 GMT 2004

   If, in a hierarchy which has been previously rsync()ed, I replace a
non-empty directory with a symbolic link the rsync will fail.

   It does work if the original directory was empty.

   It also works if I specify --delete (presumably since that deletes
first, so we end up with an empty directory).

   But using --delete on a job by default isn't a good idea!

   Is there some way to get symlinks to replace non-empty directories
without using --delete?

 Gordon Lack
 Application Environmentalist

More information about the rsync mailing list