<div dir="ltr">On Thu, Jun 6, 2013 at 1:55 PM, Satish Shukla <span dir="ltr"><<a href="mailto:satish@cadence.com" target="_blank">satish@cadence.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there an easy option in rsync which enables it to sync the data first and then the symlink pointed to it.</blockquote>

<div><br></div><div>No, there is not.  A couple possible other solutions:</div><div><br></div><div>Consider using --delay-updates so that rsync moves all the completed files/symlinks into place very rapidly (make sure to use a relative --partial-dir, which is true by default).</div>

<div><br></div><div>Or consider using the atomic-rsync script from the support dir which would allow you to do a normal --link-dest transfer into a new directory and (if setup with symlinks) atomically move the whole new hierarchy into place at once.</div>

<div><br></div><div>..wayne..</div></div></div></div>