Limit rsync running time
Cenedese at indel.ch
Thu Sep 17 07:37:06 MDT 2009
At 15:14 17.09.2009 +0200, Paul Slootman wrote:
>On Thu 17 Sep 2009, Fabian Cenedese wrote:
>> 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.
>There is for example a "timeout" package available in Debian:
>Description: run a command with a time limit
> timeout executes a command and imposes an elapsed time limit. When the time
> limit is reached, timeout sends a predefined signal to the target process.
That would be what I need. But I have rsync running on a NAS with
BusyBox, so I'd need to cross-compile it. That's why I was looking
for a bash script.
If other people have the same need: I found a script on the net:
More information about the rsync