I want to sync a big folder hierarchy between two machines.
I want to copy the contents of the symlinks if they are absolute, for eg it points to /some/folder/someFile
I want to retain the symlinks if they are relative, for eg, it points to ../../somefolder
How do I do this?
Edit: Basically I try to avoid recursion. I tried --copy-unsafe-links option, it copies absolute links but skips internal or relative links, does not retain the link.