Alberto Accomazzi writes: > FYI, rsync has a good cleanup mechanism that kicks in when you send it > a SIGHUP. It removes/renames temporary files as appropriate, sends a > signal to its child process, and exits. I use this all the time to > gracefully stop transfers (see the pseudo-code in my previous message). I've been doing some mucking around with maximum connect time and the like. Rsync returns error code 20 when it has been terminated by a SIGUSR1 or SIGHUP. I use this to work out whether the connect time limit has been reached or whether rsync completed within that time. Tim.
- Need for an --operating-window feature ??? Allen, John L.
- Re: Need for an --operating-window feature ??? Sean Berry
- Re: Need for an --operating-window feature ??? Dirk Markwardt
- Re: Need for an --operating-window feature ??? Alberto Accomazzi
- RE: Need for an --operating-window feature ??? Allen, John L.
- RE: Need for an --operating-window feature ??? Allen, John L.
- RE: Need for an --operating-window feature ??? Sean Berry
- Re: Need for an --operating-window feature ??? Dietmar Goldbeck
- Re: Need for an --operating-window feature ??? Alberto Accomazzi
- RE: Need for an --operating-window feature ??? Allen, John L.
- RE: Need for an --operating-window feature ??? Tim Potter