delaying symlinks sync until the data it points to available

Wayne Davison wayned at
Sat Jun 8 09:59:25 MDT 2013

On Thu, Jun 6, 2013 at 1:55 PM, Satish Shukla <satish at> wrote:

> Is there an easy option in rsync which enables it to sync the data first
> and then the symlink pointed to it.

No, there is not.  A couple possible other solutions:

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).

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list