rsync and symlinks

Jignesh Shah jignesh.shah1980 at gmail.com
Tue Sep 1 00:00:50 MDT 2009


Hi, I have one question regarding handling of symlinks in rsync. If I have
/source directory in which I have 100s of sub directories of directories and
each one has symlink to some directories out side the /source directory
hierarchy. Does rsync follows all those symlinks and syncs the data if I
specifies below rsync command?

rsync -avz /source/ remote.ky:/source/

source
   |
   | - source1 --> /projects/win
   | - source2 --> /projects/unix
   | - source3 --> /scripts/win
   | ....

Does rsync command syncs /project contents as well? What if I have some
symlinks inside /projects?

Thanks,
Jignesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20090901/834b0797/attachment.html>


More information about the rsync mailing list