Limit rsync running time
Cenedese at indel.ch
Thu Sep 17 06:48:07 MDT 2009
I'd like to rsync a large amount of data over a slow connection,
but only during night hours. I couldn't find a parameter that limits
the time that rsync is running, only the timeout on idle time.
I guess the way to go would be to start rsync, get the process
ID and kill the process later on.
Has anybody already written a bash script that would do something
like that? Are there other ways? I don't want to kill all rsync
processes as there might be other syncs going on.
More information about the rsync