Rsync "roadmap" and version numbering (3.1.0 vs 3.0.4)
Louis-David Mitterrand
vindex+lists-rsync at apartia.org
Thu Jul 17 16:32:32 GMT 2008
On Thu, Jul 17, 2008 at 06:24:46PM +0200, Louis-David Mitterrand wrote:
> On Sun, Jul 06, 2008 at 12:53:55PM -0400, Charles Marcus wrote:
> > On 7/4/2008, Wayne Davison (wayned at samba.org) wrote:
> >> Other things in the patches dir, suggestions made here, and enhancement
> >> requests from bugzilla will all be reviewed for possible inclusion.
> >
> > I'd still like to see the --ignore-case patch to be made part of the
> > official rsync source...
>
> +1
>
> That would be an awesome addition for 3.1.0
>
> Right now I have to run my excludes list through a sed one-liner to get
> the same effect, but it looks pretty ugly.
>
> ## *.mp3 -> *.[mM][pP]3
> EXCLUDE=$(sed -e ':s' -e 's/\*\.\([^ []*\)\([[:alpha:]]\)/*.\1[\U\2\L\2]/g;ts' <<< "$EXCLUDE")
Actually the best way would be to also have a switch to turn on/off case
sensitivity on each pattern:
i- *.mp3 ## case insensitive exclude
i+ *.mp3 ## case insensitive include
## with --ignore-case option in effect
I- *.mp3 ## case sensitive exclude
I+ *.mp3 ## case sensitive include
Just a thought
More information about the rsync
mailing list