Partial transferred files useless at resume, compare-dir can help ?

Constantin Teodorescu teo at flex.ro
Tue Jun 13 22:04:04 GMT 2006


Matt McCutchen wrote:
> On Wed, 2006-06-14 at 00:21 +0300, Constantin Teodorescu wrote:
>   
>> This is EXACTLY what I wanted , and tried for the first time , like in 
>> the manual  but no ... it's behaviour is not changed at all ! :-(
>>     
>
> I tested --partial-dir on my computer, and when I kill rsync manually by
> pressing Ctrl-C, the behavior is as I said.
>
> Rsync needs to be aware that the connection has dropped in order to
> clean up after itself and store the partial file.  Maybe it is waiting
> forever to read data from the connection.  If so, you might be able to
> fix the problem by passing a --timeout. 
THAT'S THE RIGHT SOLUTION !!!!!!
Now it works also for me in case that the connection is broken !!!!!

In order to be useful , --partial-dir and --partial MUST BE used with 
--timeout

I think that this should be also mentioned in the man pages, after all.

Thanks for your help !
Best regards,


Teo



More information about the rsync mailing list