proposed new parameter: --time-limit 5:30
Christoph Biedl
cbiedl at gmx.de
Wed Jun 15 14:58:46 GMT 2005
ches wrote...
> What I really want is to tell rsync to desist the mirroring after a
> certain amount of time. It's ok with me if it takes a few nights to
> bring the mirrors back into alignment.
>
> I can and have done this easily with a shell script that kills the rsync after
> a given amount of time. But this seems like an easy and useful feature to
> add to the program itself.
An alternate solution to your problem was locking - rsync refuses to
start if a given file exists and is locked by another process. Again,
this could be done in a shell script around rsync.
Christoph
More information about the rsync
mailing list