RE: CYGWIN Rsync exclude/include problem

2003-03-21 Thread Mike Lavender
Thank you all for your input. It turns out that the problem is a CRLF/LF problem. I'm including the explanation of the problem/solution for others. Using -vvv resulted in the listing of include/excludes as follows (I have only listed a couple of lines to keep it short): ,exclude)de(! ,exclude)de

Re: CYGWIN Rsync exclude/include problem

2003-03-21 Thread jw schultz
On Fri, Mar 21, 2003 at 12:22:15PM -0500, Mike Lavender wrote: > > Command Line: > rsync -avvvzl --stats --delete --delete-excluded > --exclude-from=c:\rsync\includes.txt /cygdrive/c/ [EMAIL PROTECTED]::LaptopBackup First, get rid of the backslashes. Second, drop verbosity to just -vv (not -vvv)

Re: CYGWIN Rsync exclude/include problem

2003-03-21 Thread Wayne Davison
On Fri, Mar 21, 2003 at 12:22:15PM -0500, Mike Lavender wrote: > + /Databases/#Include /Databases & subfolders Do you realize that this is specifying a file whose name starts with 4 spaces and contains a '#' character in it? If you want to put comments into your include/exclude file, they mus

Re: CYGWIN Rsync exclude/include problem

2003-03-21 Thread Max Bowsher
Dalton Harvie wrote: > Newbie response: > > How about: > > rsync -avvvzl --stats --delete --delete-excluded > --exclude-from=c:\rsync\includes.txt /cygdrive/c/* [EMAIL PROTECTED]::LaptopBackup > > as I've had problems with the --delete flag without using the * before NOT advisable. Adding * is unn

Re: CYGWIN Rsync exclude/include problem

2003-03-21 Thread Max Bowsher
Mike Lavender wrote: > I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to > include/exclude files they way I expect it to. I have mulled over the > list postings and man pages regarding this and I am either missing > something or ... well I don' know. > > I have a drive with 12 folder

Re: CYGWIN Rsync exclude/include problem

2003-03-21 Thread Dalton Harvie
Newbie response: How about: rsync -avvvzl --stats --delete --delete-excluded --exclude-from=c:\rsync\includes.txt /cygdrive/c/* [EMAIL PROTECTED]::LaptopBackup as I've had problems with the --delete flag without using the * before (see down the list a bit, "can't delete older file/directory li