Is There a way to preserve symlink and also copy the actual contents using rsync

Namitha Rao namithajr at
Wed Apr 11 12:09:31 GMT 2007


On the rsync Server we have rsync path set to say, path= /x/y

where 'y' is symlink to some other directory say 'z' on the same machine.

Now is there a way to sync 'y' on remote client preserving the symlink as it
is and also  copy the actual contents from 'z' to say 'z' on the client

I have tried using '-l ' option which copies symlink as symlink but the
actual contents are not copied on to remote client machine. Is there a way
to copy even the contents using rsync?

Thanks in Advance

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the rsync mailing list