Re: protecting files from deletion, and using --delete-excluded

2006-08-30 Thread Matt McCutchen
To get in the habit, I wrote a test case to catch the bug; it is attached. My patch breaks the "exclude" test case because it seems to make rsync treat patterns in .cvsignore files on the receiver as protect filters. I'm not sure what to do about this. Matt dnemflrde.test Description: Binary d

Re: protecting files from deletion, and using --delete-excluded

2006-08-30 Thread Matt McCutchen
I squished the bug! Attached is a patch. The name stands for "Do Not Elide Merge Files on a Local Receiver with --delete-excluded". Matt ### Eclipse Workspace Patch 1.0 #P rsync Index: exclude.c === RCS file: /cvsroot/rsync/exclude

Re: protecting files from deletion, and using --delete-excluded

2006-08-30 Thread Matt McCutchen
On 8/30/06, Christophe LYON <[EMAIL PROTECTED]> wrote: I still see rsync remove all my r3* dirs in the destination: [...] deleting r3.0/ This is a bug! I can reproduce it in CVS rsync. I'm investigating. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync

Re: Damaged source medium during rsync

2006-08-30 Thread Matt McCutchen
I should clarify... On 8/30/06, Felix E. Klee <[EMAIL PROTECTED]> wrote: I assume that the file will be synchronized partially, overwriting any file of the same name on the destination medium. That behavior is not the default. It is enabled by --inplace. If that is the case, is there a way

Re: Damaged source medium during rsync

2006-08-30 Thread Matt McCutchen
On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: flames invited if I've got this wrong. UNLESS --inplace is specified, the error will be detected and the update aborted before the target file is touched. You're right. The sender will behave as if the damaged regions of the file contai

RE: Damaged source medium during rsync

2006-08-30 Thread tony
flames invited if I've got this wrong. UNLESS --inplace is specified, the error will be detected and the update aborted before the target file is touched. >- --- Original Message --- - >From: [EMAIL PROTECTED] >To: rsync@lists.samba.org >Sent: Wed, 30 Aug 2006 12:30:11 > >What hap

Damaged source medium during rsync

2006-08-30 Thread Felix E. Klee
What happens when rsync'ing a file that is damaged bacause of a bad sector on the source medium? I assume that the file will be synchronized partially, overwriting any file of the same name on the destination medium. If that is the case, is there a way to make rsync check readability of files

Re: protecting files from deletion, and using --delete-excluded

2006-08-30 Thread Christophe LYON
Matt McCutchen wrote: On 8/29/06, Christophe LYON <[EMAIL PROTECTED]> wrote: At some point I have mirrored all of them, but now I want to be able to tell rsync to: - remove all r1.* and r2.* releases - skip r3.* releases (ie don't scan them, but don't delete them) - sync r4.* releases I am tryi

FW: Lustig

2006-08-30 Thread Klaus Schmidt
Respekt! Die Aktion ist ja der Hammer! Die sieht gut uns und setzt es für ne gute Sache ein ;-) --- Weitergeleitete Nachricht --- Von: "Klaus Becker" <[EMAIL PROTECTED]> An: [EMAIL PROTECTED]; Betreff: Fwd:FW: Echte Tierliebe :-) Datum: Wed, 18 Aug 2006 17:49:02 +0100 (MET) > > > > > > Hallo