Re: rsync include / exclude

2004-05-06 Thread Michael C. Davis
At 04:50 PM 5/6/04 -0700, Wayne Davison wrote: >You fell victim to one of the classic blunders! The most famous of >which is, "Never get involved in a land war in Asia." But only slightly >less well known is this: "Never exclude '*', when death is on the line!" >Ha ha ha ha ha! Ha ha ha ha! [Cl

Re: rsync include / exclude

2004-05-06 Thread Wayne Davison
On Thu, May 06, 2004 at 01:20:34PM -0500, Michael C. Davis wrote: > I've narrowed it down to a test script for a representative case > which, again, should be working but isn't. You fell victim to one of the classic blunders! The most famous of which is, "Never get involved in a land war in Asia.

rsync include / exclude

2004-05-06 Thread Michael C. Davis
Hi, I'm using rsync to move the contents of one drive to another as part of upgrading from an old Linux installation to a newer one. I have a script which uses includes and excludes to select what to keep and what to throw away, but for some reason my include rule isn't triggering when I think it

Re: is there a way to make rsync include/exclude options case insensitive?

2003-01-21 Thread Wayne Davison
On Tue, Jan 21, 2003 at 08:12:31PM +, Faheem Mitha wrote: > What I mean is that --exclude > "*.pdf" would exclude "*.PdF" and "*.pdF" as well. You currently have to do this: *.[Pp][Dd][Ff] The fnmatch() function that rsync currently uses for its pattern matching only has a case-folding o

is there a way to make rsync include/exclude options case insensitive?

2003-01-21 Thread Faheem Mitha
Dear People, A friend asks * For the rsync include/exclude options is there a way to make it case insensitive? What I mean is that --exclude "*.pdf" would exclude "*.PdF" and "*.pdF" as well. I am loo