Thanks Carlos.<br><br>... rsync copy symlinks as
symlinks<br>What about the contents pointed by simlinks?<br><br>Could you please also elaborate on "Only if it's inside source."<br><br>Thanks,<br>Jignesh<br><br><br><br><div class="gmail_quote">On Tue, Sep 1, 2009 at 8:25 PM, Carlos Carvalho <span dir="ltr"><<a href="mailto:carlos@fisica.ufpr.br">carlos@fisica.ufpr.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Jignesh Shah (<a href="mailto:jignesh.shah1980@gmail.com">jignesh.shah1980@gmail.com</a>) wrote on 1 September 2009 11:30:<br>
<div class="im"> >Hi, I have one question regarding handling of symlinks in rsync. If I have<br>
>/source directory in which I have 100s of sub directories of directories and<br>
>each one has symlink to some directories out side the /source directory<br>
>hierarchy. Does rsync follows all those symlinks and syncs the data if I<br>
>specifies below rsync command?<br>
><br>
>rsync -avz /source/ remote.ky:/source/<br>
<br>
</div>The -a option in this command will make rsync copy symlinks as<br>
symlinks, to faithfully reproduce source on <a href="http://remote.ky" target="_blank">remote.ky</a>.<br>
<div class="im"><br>
>source<br>
> |<br>
> | - source1 --> /projects/win<br>
> | - source2 --> /projects/unix<br>
> | - source3 --> /scripts/win<br>
> | ....<br>
><br>
>Does rsync command syncs /project contents as well?<br>
<br>
</div>Only if it's inside source.<br>
<font color="#888888">--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</font></blockquote></div><br>