Rsync has a 'time-limit' patch with following options: --stop-at=y-m-dTh:m Stop rsync at year-month-dayThour:minute --time-limit=MINS Stop rsync after MINS minutes have elapsed
Tev > Hi > > 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. > > Thanks > > bye Fabi > > -- > 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 > -- 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