[PATCH] --timelimit and --stopat

Jon Jensen jon at endpoint.com
Tue Apr 27 13:38:49 GMT 2004

On Mon, 26 Apr 2004, Wayne Davison wrote:

> CVS now has an updated time-limit.diff patch in which I simplified the
> code quite a bit and tweaked the options a bit:

Those are really nice new options.

>  --stop-at=YY-MM-DD at HH:MM
>         This option allows you to specify at what time to stop rsync, in
>         year-month-day at hour:minute numeric format (e.g. 04-12-3l at 23:59).

Is there any reason to use a nonstandard date/time format like this? The 
ISO standard of YYYY-MM-DDThh:mm is widely used and is what I'd expect:


In any case 2-digit years without the century seem like a bad idea.

>  --time-limit=TIME
>         This option allows you to specify the maximum number of  minutes
>         rsync will run for.

Would seconds be too short here? I can imagine the need to allow a smaller 
rsync on a local network to run for only 30 or 45 seconds. Perhaps default 
to seconds and allow an m or h suffix for minutes or hours?

Just some suggestions. If you're interested I can work up a patch.


More information about the rsync mailing list