Re: improved atime patch

2004-04-20 Thread Assar
Wayne Davison <[EMAIL PROTECTED]> writes: > I've looked over your patch, made a few changes, and checked it into > the patches dir. Thanks for the feedback and adding it to the patch directory. What are your thoughts on committing this to the rsync source itself? And can I ask you to look at the

Re: improved atime patch

2004-04-20 Thread Wayne Davison
On Tue, Apr 20, 2004 at 05:14:25PM -0400, Assar wrote: > Here's a new version of the patch (relative to CVS) that adds > -A/--copy-atime instead. I agree that making it a separate option is a better choice. > Any feedback on this patch and/or the previous one that I posted? I've looked over your

improved atime patch

2004-04-20 Thread Assar
I posted a patch a few days ago that adds copying of atime. At that time, it was just enabled with -t/--times. After some time, we have figured out that that choice might not have been the best. Here's a new version of the patch (relative to CVS) that adds -A/--copy-atime instead. It also inclu

Re: [PATCH] time limit

2004-04-20 Thread John Taylor
On Tue, Apr 20, 2004 at 08:23:56AM -0400, Brian McEntire wrote: > I didn't write the patch, so I can only beg :-) ... > > That patch will be very useful to me too! > > To the patch author: would it be much more trouble to specify a stop time > rather than just a delay? If I want to backup a var

Re: [PATCH] time limit

2004-04-20 Thread Tim Conway
Ok, now that's just plain ugly. Here, I just wrote you this... [EMAIL PROTECTED] /home/cnwt99>cat runfor #!/usr/bin/perl #runfor usage:runfor seconds commandline #need it to get the correct value for WNOHANG use POSIX ":sys_wait_h"; #pull the params ($runtime, @commandline) = @ARGV ; #assembl

Re: [PATCH] time limit

2004-04-20 Thread Daemian Mack
Jan-Benedict Glaw wrote: I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T option. When this option is used rsync will stop after T minutes and exit. I think this option is useful when rsyncing a large amount Okay, nice thing. What about $ echo "killall rsync" | at midnigh

Re: [PATCH] time limit

2004-04-20 Thread Jan-Benedict Glaw
On Mon, 2004-04-19 16:28:08 -0400, John Taylor <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T > option. When this option is used rsync will stop after T minutes > and exit. I think this option is useful when rsy

Re: [PATCH] time limit

2004-04-20 Thread Brian McEntire
I didn't write the patch, so I can only beg :-) ... That patch will be very useful to me too! To the patch author: would it be much more trouble to specify a stop time rather than just a delay? If I want to backup a varying number of systems from cron and limit them to "off hours", the --time-l

Re: [PATCH] time limit

2004-04-20 Thread Daemian Mack
Chuck Wolber wrote: On Mon, 19 Apr 2004, Wayne Davison wrote: On Mon, Apr 19, 2004 at 04:28:08PM -0400, John Taylor wrote: I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T option. Thanks -- I've added it to the patches dir for now. If folks think it is useful, it will event