Status of --ignorcase option in main tree/build?
Hi, I'm very interested in learning the status of the --ignorecase patch being included in the main tree... is there a reason it still isn't in there? For anyone who is forced to dealing with backing up windows boxes, this is a big problem, and I can't believe that it isn't affecting a lot of people... Or maybe there is a simple workaround? I'm trying to backup files from a windows/ntfs filesystem to a linux filesystem, and running into a problem where the users rename files, and sometimes change the case (sometimes in the name, sometimes in the extension), causing the file to get backed up multiple times. Or - maybe - is there a way to ignore the filenames altogether? :) Lastly, can anyone help me with patching the version of rsync that comes in cwrsync (the windows version)? Tia... and thanks for rsync! it is one freakin awesome tool... Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Wed, May 02, 2007 at 01:01:20PM -0400, Charles Marcus wrote: > I'm very interested in learning the status of the --ignorecase patch > being included in the main tree... My currently plan is to include that functionality in 3.0.0. I've been improving the patch in recent weeks, and it will get incorporated fairly soon, I would imagine. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
Wayne Davison wrote: On Wed, May 02, 2007 at 01:01:20PM -0400, Charles Marcus wrote: I'm very interested in learning the status of the --ignorecase patch being included in the main tree... My currently plan is to include that functionality in 3.0.0. I've been improving the patch in recent weeks, and it will get incorporated fairly soon, I would imagine. Good news! Thanks for the reply... That said - you said '3.0', and 'fairly soon'... does that mean that 3.0 will be the next major release? Can you give some rough idea of how long this might be? If not, I understand - it is difficult because sometimes people take a guess as a promise... ;) -- Best regards, Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
That said - you said '3.0', and 'fairly soon'... does that mean that 3.0 will be the next major release? To clarify... will the next version be 2.7, or 3.0? Thanks again! -- Best regards, Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Fri, May 04, 2007 at 03:27:18PM -0400, Charles Marcus wrote: > That said - you said '3.0', and 'fairly soon'... does that mean that > 3.0 will be the next major release? Yes, 3.0.0 is what is being worked on in CVS (as mentioned on the rsync web page). You can check it out via the repository or via the nightly tar files. It will take a while for the planned features to be complete and then for enough testing to happen on the end result, but I'm using 3.0.0 on all my personal systems as my main rsync, so the software is in good enough shape to be used now as long as you're willing to keep an eye out for problems and report them. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 5/4/07, Charles Marcus <[EMAIL PROTECTED]> wrote: > That said - you said '3.0', and 'fairly soon'... does that mean that 3.0 > will be the next major release? To clarify... will the next version be 2.7, or 3.0? The next release will be 3.0.0. While Wayne may incorporate the ignore-case patch into the development version of rsync in CVS soon, I'm guessing version 3.0.0 with the patch won't be released for at least another month because there are so many more features he wants to add before then. Wayne, how long do you think it will be before 3.0.0 is ready? Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
Wayne Davison, on 5/4/2007 12:11 PM, said the following: On Wed, May 02, 2007 at 01:01:20PM -0400, Charles Marcus wrote: I'm very interested in learning the status of the --ignorecase patch being included in the main tree... My currently plan is to include that functionality in 3.0.0. I've been improving the patch in recent weeks, and it will get incorporated fairly soon, I would imagine. Hi Wayne, Just checking to see if this is in the official tree yet? Thanks, -- Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 7/20/07, Charles Marcus <[EMAIL PROTECTED]> wrote: Hi Wayne, Just checking to see if this is in the official tree yet? It isn't. Wayne, perhaps you have a further comment about when it will be. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
Hi Wayne, Just checking to see if this is in the official tree yet? It isn't. Wayne, perhaps you have a further comment about when it will be. Thanks Matt - we'll see what Wayne says... -- Best regards, Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
Matt McCutchen, on 7/20/2007 10:28 AM, said the following: On 7/20/07, Charles Marcus <[EMAIL PROTECTED]> wrote: Hi Wayne, Just checking to see if this is in the official tree yet? It isn't. Wayne, perhaps you have a further comment about when it will be. Wayne? Thanks, -- Best regards, Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 5/2/07, Charles Marcus <[EMAIL PROTECTED]> wrote: > I'm very interested in learning the status of the --ignorecase patch > being included in the main tree... is there a reason it still isn't in > there? > > For anyone who is forced to dealing with backing up windows boxes, this > is a big problem, and I can't believe that it isn't affecting a lot of > people... > > Or maybe there is a simple workaround? > > I'm trying to backup files from a windows/ntfs filesystem to a linux > filesystem, and running into a problem where the users rename files, and > sometimes change the case (sometimes in the name, sometimes in the > extension), causing the file to get backed up multiple times. > > Or - maybe - is there a way to ignore the filenames altogether? :) > > Lastly, can anyone help me with patching the version of rsync that comes > in cwrsync (the windows version)? Rather than waiting for the ignore case patch to be added to the standard rsync, I suggest you get your own copy of rsync with that patch in one of these two ways: 1. Set up a full Cygwin installation ( http://www.cygwin.com/ ), get the rsync source code ( http://rsync.samba.org/ftp/rsync/rsync-2.6.9.tar.gz ), patch it with ignore-case.diff, and compile and install rsync. 2. Ask on the cwRsync web site ( http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=150:150 ) for help building a patched cwRsync. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 7/30/07, Matt McCutchen <[EMAIL PROTECTED]> wrote: > Rather than waiting for the ignore case patch to be added to the > standard rsync, I suggest you get your own copy of rsync with that > patch in one of these two ways: > > 1. Set up a full Cygwin installation ( http://www.cygwin.com/ ), get > the rsync source code ( > http://rsync.samba.org/ftp/rsync/rsync-2.6.9.tar.gz ), patch it with > ignore-case.diff, and compile and install rsync. > > 2. Ask on the cwRsync web site ( > http://www.itefix.no/phpws/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=6&MMN_position=150:150 > ) for help building a patched cwRsync. Addendum: I have been in touch with Tevfik Karagülle <[EMAIL PROTECTED]>, the cwRsync author, about what users like you who want patched versions of cwRsync should do. He says you can just compile your own rsync.exe as in alternative #1 and then replace the rsync.exe installed by cwRsync with your own to achieve the effect of a patched cwRsync. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 7/31/07, Matt McCutchen <[EMAIL PROTECTED]> wrote: > Addendum: I have been in touch with Tevfik Karagülle > <[EMAIL PROTECTED]>, the cwRsync author, about what users like you who > want patched versions of cwRsync should do. He says you can just > compile your own rsync.exe as in alternative #1 and then replace the > rsync.exe installed by cwRsync with your own to achieve the effect of > a patched cwRsync. Yay, there is now a cwRsync FAQ for this: http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=427 Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
Rather than waiting for the ignore case patch to be added to the standard rsync, One big reason I pinged the list (and you and Wayne) is to be the 'squeaky wheel' - I'm hoping this doesn't fall through the cracks and actually does make it into the 3.0 release... otherwise, I'll have to keep begging someone to help me compile a custom version... ;) Many thanks for providing a link to your already patched sources! -- Best regards, Charles -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Thu, 2008-05-15 at 16:47 -0400, Charles Marcus wrote: > On 5/15/2008 4:31 PM, Matt McCutchen wrote: > > On Thu, 2008-05-01 at 10:55 -0400, Charles Marcus wrote: > >> Did [the --ignore-case] patch get included in the new 3.0.x standard > >> version? > > > No. > > O-k... bummer. I thought it was supposed to be... Right, here's the reference: http://lists.samba.org/archive/rsync/2007-May/017682.html > Any chance it ever will be? This is kind of important when rsyncing > between two systems, one of which ignores (ala windows) and one which > doesn't (ala linux), so I'm surprised there isn't a lot of demand for it... Wayne, do you have a comment about the inclusion of --ignore-case? Matt signature.asc Description: This is a digitally signed message part -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Thu, May 15, 2008 at 06:39:03PM -0400, Matt McCutchen wrote: > Wayne, do you have a comment about the inclusion of --ignore-case? I don't particularly like the option, so my current inclination is to just keep it available in the patches directory for those that want it. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 5/15/2008 7:18 PM, Wayne Davison wrote: > On Thu, May 15, 2008 at 06:39:03PM -0400, Matt McCutchen wrote: >> Wayne, do you have a comment about the inclusion of --ignore-case? > I don't particularly like the option, so my current inclination is to > just keep it available in the patches directory for those that want it. > > ..wayne.. Hi Wayne, I hope you don't mind a follow-up... You can do what you want, of course, but the problem with this is some of the people who will want to use rsync to backup Windows boxes are - or at least I am - shall we say, not programmers, and are not totally comfortable patching code - and so will be at the mercy of someone else's generosity for providing a patched version of the rsync binary. Matt was kind enough to do this for me a while back with 2.6.9, but I'd rather not keep bothering him every time a new version is released. Is the code somehow invasive, or create some kind of unsafe situation or problem? Or is it just because you don't like Windows/Microsoft, and/or the fact that it doesn't ignore case? ;) -- Best regards, Charles -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Fri, 2008-05-16 at 08:54 -0400, Charles Marcus wrote: > On 5/15/2008 7:18 PM, Wayne Davison wrote: > > I don't particularly like the option, so my current inclination is to > > just keep it available in the patches directory for those that want it. > > Hi Wayne, > > I hope you don't mind a follow-up... > > You can do what you want, of course, but the problem with this is some > of the people who will want to use rsync to backup Windows boxes are - > or at least I am - shall we say, not programmers, and are not totally > comfortable patching code - and so will be at the mercy of someone > else's generosity for providing a patched version of the rsync binary. > > Matt was kind enough to do this for me a while back with 2.6.9, but I'd > rather not keep bothering him every time a new version is released. To some degree I can see Wayne's rationale for not including --ignore-case in the main version of rsync. Officially, rsync targets only Unix-like systems, not Windows, though OS-specific compatibility changes/features are fair game for the maintained patches. I remember Wayne declined another Windows-specific change I proposed a while ago. But the main version of rsync isn't, and IMHO isn't meant to be, the be-all, end-all. Let's see what we can do about getting you the binaries. It would make sense for cwRsync to include --ignore-case if it doesn't already. (Tev?) For the Linux end, one of the things on my to-do list is to look into offering source and binaries for a number of different patched rsync versions, likely including an --ignore-case version, on my Web site. I could write a script to build RPMs for rsync plus each patch in isolation, or maybe there are some combinations of patches that people use often and I could package. Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On 5/16/2008, Matt McCutchen ([EMAIL PROTECTED]) wrote: > To some degree I can see Wayne's rationale for not including > --ignore-case in the main version of rsync. Officially, rsync targets > only Unix-like systems, not Windows, though OS-specific compatibility > changes/features are fair game for the maintained patches. I remember > Wayne declined another Windows-specific change I proposed a while ago. > > But the main version of rsync isn't, and IMHO isn't meant to be, the > be-all, end-all. Let's see what we can do about getting you the > binaries. It would make sense for cwRsync to include --ignore-case if > it doesn't already. (Tev?) For the Linux end, one of the things on my > to-do list is to look into offering source and binaries for a number of > different patched rsync versions, likely including an --ignore-case > version, on my Web site. I could write a script to build RPMs for rsync > plus each patch in isolation, or maybe there are some combinations of > patches that people use often and I could package. Wow, that would be awesome! I was very happy that you were willing to do this for me earlier, but obviously bugging you every time a new release came out was not an option. I didn't worry too much about it at the time, since Wayne had said it would be making it into the main tree for 3.0... If you could automate this, so that it isn't a pain in your butt, then I guess this would be a very satisfactory solution for this - hmm, I'm not sure I'd go so far as to call it a 'corner case', since, even though rsync definitely started out as a *nix only utility, there are definitely a *lot* of windows people taking advantage of its power and flexibility - but, well, you get my drift... Thanks so much for considering different ways of helping out those of us both less skilled, and doomed to continue to support the windows world! :) -- Best regards, Charles -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Fri, May 16, 2008 at 12:24 PM, Matt McCutchen <[EMAIL PROTECTED]> wrote: > On Fri, 2008-05-16 at 08:54 -0400, Charles Marcus wrote: >> On 5/15/2008 7:18 PM, Wayne Davison wrote: >> > I don't particularly like the option, so my current inclination is to >> > just keep it available in the patches directory for those that want it. >> >> Hi Wayne, >> >> I hope you don't mind a follow-up... >> >> You can do what you want, of course, but the problem with this is some >> of the people who will want to use rsync to backup Windows boxes are - >> or at least I am - shall we say, not programmers, and are not totally >> comfortable patching code - and so will be at the mercy of someone >> else's generosity for providing a patched version of the rsync binary. >> >> Matt was kind enough to do this for me a while back with 2.6.9, but I'd >> rather not keep bothering him every time a new version is released. > > To some degree I can see Wayne's rationale for not including > --ignore-case in the main version of rsync. Officially, rsync targets > only Unix-like systems, not Windows, though OS-specific compatibility > changes/features are fair game for the maintained patches. I remember > Wayne declined another Windows-specific change I proposed a while ago. How does this work on OS X/HFS+ (case-preserving, but case-insensitive)? Any issues with the standard build in a mixed-OS scenario like this? -- Aaron Davies [EMAIL PROTECTED] -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
On Sat, 2008-05-17 at 01:32 -0400, Aaron Davies wrote: > How does this work on OS X/HFS+ (case-preserving, but > case-insensitive)? Any issues with the standard build in a mixed-OS > scenario like this? The standard version should work mostly fine on a case-insensitive, case-preserving filesystem. The major issue is in the behavior with a source file and a destination file that differ only in case (say foo and FOO): * If you don't use a --delete mode, rsync will find foo already present on the destination due to the case insensitivity and won't change anything. * If you use --delete-before or --delete-during, rsync will delete FOO as extraneous and then copy foo. The overall effect is to (inefficiently) update the case of destination files, which may be desirable. If you change the case of a destination file by hand to work around case sloppiness in a program (see https://bugzilla.samba.org/show_bug.cgi?id=3444#c5 ) and don't want rsync to reverse your change, you can use a protect filter to block the individual deletion. * If you use --delete-delay or --delete-after, rsync will find foo present and then delete FOO, leaving you with no destination file at all, so don't use --delete-delay or --delete-after. With --ignore-case, the patched version of rsync will leave FOO alone regardless of the delete mode. --ignore-case also makes filter matching case-insensitive. Note that HFS+'s behavior of automatically decomposing UTF-8 characters in filenames presents analogous issues when source files whose names contain composed UTF-8 characters are copied to an HFS+ destination. To work around this problem, pass --iconv=UTF-8,UTF8-MAC for a local copy or push, or --iconv=UTF8-MAC,UTF-8 for a pull. Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Status of --ignorcase option in main tree/build?
>* If you use --delete-before or --delete-during, rsync will delete FOO >as extraneous and then copy foo. The overall effect is to >(inefficiently) update the case of destination files, which may be >desirable. If you change the case of a destination file by hand to work >around case sloppiness in a program (see >https://bugzilla.samba.org/show_bug.cgi?id=3444#c5 ) and don't want >rsync to reverse your change, you can use a protect filter to block the >individual deletion. > >With --ignore-case, the patched version of rsync will leave FOO alone >regardless of the delete mode. --ignore-case also makes filter matching >case-insensitive. Is there a way that rsync will find different case files in destination and will update the filename without copying the whole file? Kind of a special case of the "find existing" patch. This is something that might be useful even on case-sensitive filesystems as on linux. As only the case has changed it may be a lot easier to implement than a full search for the file. bye Fabi -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html