Re: rsync exit 0 before transfer complete

2005-12-20 Thread John Van Essen
On Sat, 17 Dec 2005, Donna Livingstone <[EMAIL PROTECTED]> wrote: > > See below a snippet of the code I am using : > >if [ ! -s $file ] > then ># File does not exist or is non-zero >echo "file $file does not exit or is 0 size" >> $LOGFILE > fi >

Re: rsync exit 0 before transfer complete

2005-12-19 Thread Donna Livingstone
Thanks for the reply. The code works 99% of the time - the outlined scenario has only occurred abot 20 times out of 1500 transfers this month.  It has also worked for three months previously wothout a problem. The only change has been the load on the system in the past month. Given what you

Re: rsync exit 0 before transfer complete

2005-12-19 Thread Wayne Davison
On Sat, Dec 17, 2005 at 12:06:26PM -0700, Donna Livingstone wrote: > wrote 25 bytes read 20 bytes 30.00 bytes/sec > total size is 0 speedup is 0.00 > rsync error: some files could not be transferred (code 23) at main.c(620) This trailing error is output from the _cleanup_exit() routine right be

rsync exit 0 before transfer complete

2005-12-17 Thread Donna Livingstone
On a Redhat ES 3 system running rsync-2.5.7-5.3E I have a script which sends files to other servers. I have noted lately that occasionally rsync will exit with a code of 0 prematurely. See below a snippet of the code I am using : if [ ! -s $file ] then # File does not