Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread René Rebe
Hi, On Wednesday 11 January 2006 04:28, John Gallagher wrote: The problem is that I have no clue what to do with this and or how to make it work with my script. If you want hide errors, remove the -e from your sh invocation or add || true at the end of the rsync invocation. Though I would

Re: performance with 50GB files

2006-01-11 Thread René Rebe
Hi, On Wednesday 11 January 2006 00:31, Wayne Davison wrote: So, perhaps the size of the sending file should be factored into the calculation in order to set a minimum acceptable block size. This would be easy, because the generator already knows the size of both files at the time that it

Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread Linus Hicks
René Rebe wrote: Hi, On Wednesday 11 January 2006 04:28, John Gallagher wrote: The problem is that I have no clue what to do with this and or how to make it work with my script. If you want hide errors, remove the -e from your sh invocation or add || true at the end of the rsync

RE: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread John Gallagher
If you want to handle errors from rsync in your shell script, then remove the -e and test for errors after your call to rsync. Linus Let me start by saying my shell scripting skills are very weak, as if that were not already apparent. I understand the -e will exit when the return code is

Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread Wayne Davison
On Tue, Jan 10, 2006 at 07:28:00PM -0800, John Gallagher wrote: The problem is that I have no clue what to do with this and or how to make it work with my script. The FAQ says to name the script something like rsync-no24. All you'd need to do in your script is to run rsync-no24 in place of

Re: Can I disable socket, only enable ssh tunnel ?

2006-01-11 Thread Wayne Davison
On Wed, Jan 11, 2006 at 12:42:10AM +0800, Cauchy Song wrote: Can I disable socket, only enable ssh tunnel ? (Your question is very cryptic, so I am left to guess what it means.) If you have an rsync daemon running on a machine, try changing the rsyncd.conf file to make it only allow connections

Re: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread Linus Hicks
John Gallagher wrote: If you want to handle errors from rsync in your shell script, then remove the -e and test for errors after your call to rsync. Linus Let me start by saying my shell scripting skills are very weak, as if that were not already apparent. I understand the -e will exit

RE: Shell Script Does not complete if rsync returns Code 24

2006-01-11 Thread John Gallagher
First, this is not an rsync issue. That tells me that you want your script (the one you posted in your original message) to continue processing if rsync takes the error 24. If that is the case, then you need to remove the -e on your shell invocation OR call a wrapper that treats the

2.6.2 rsync --daemon is not working for me

2006-01-11 Thread chitra.vaidyanathan
Can anyone explain to me how strace works? I mean does it need to modify the system calls iternally for some kind of event notification. Can it not be used for monitoring a process non-intrusively? Thanks Chitra The information contained in this electronic message and any attachments to