File Locking

Wayne Davison wayned at
Mon Aug 18 22:38:17 GMT 2008

On Mon, Aug 18, 2008 at 10:36:18AM -0500, lists at wrote:
> In other words, I can't wait until the first run has completed the
> large copy to begin copying additional files.  I want to start a
> second, third, fourth, etc copy that begins working on any additional
> files that may have been placed on the source side.

One way is to split things into two separate rsync scripts, each with
its own single-run locking.  One would use --max-size=100MB and the
other would use --min-size=100MB (or whatever size you like).  That way
the small-file rsync can run more frequently than the large-file rsync.


More information about the rsync mailing list