On Thu, Jun 6, 2013 at 1:55 PM, Satish Shukla <[email protected]> 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
once.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to