rsync -a --copy-unsafe-links src/ dest
Da página man
:
--copy-unsafe-links
This tells rsync to copy the referent of symbolic links that point outside the copied tree. Absolute symlinks are also treated like ordinary files, and so are any symlinks in the source path itself when
--relative
is used. This option has no additional effect if--copy-links
was also specified.[...]
--links --copy-unsafe-links Turn all unsafe symlinks into files and duplicate all safe symlinks.