Using --keep-dirlinks : recursive symlinks problem

Paul Slootman paul at debian.org
Mon Aug 23 06:56:16 GMT 2004


On Sun 22 Aug 2004, Ivan Manida wrote:

> It is not infinite, but it is inconvenient since rsync would generate a transfer error. I think it makes sense to detect such symlinks and have an option which would modify copy-links and keep-dirlinks behavior, since it's not always possible to modify the sending filesystem to correct the loop.

I'd vote for detecting the trivial case of :

link -> .
link -> ..
link -> ../`basename $(pwd)`
and perhaps
link -> ../anything


Paul Slootman


More information about the rsync mailing list