Re: [RSync] Re: rsync for the brave

2008-11-10 Thread Ashley M. Kirchner
Matt McCutchen wrote: (My boss' last name is the same as yours.) --delete-excluded prevents the --exclude=Network Trash Folder rule from protecting the Network Trash Folder on the destination from deletion; that's the whole point of --delete-excluded. Aha! No wonder ... To protect

Re: [RSync] Re: rsync for the brave

2008-11-10 Thread Ashley M. Kirchner
Matt McCutchen wrote: Not really. The leading slash would require the pattern to match the entire path of the file starting from the source directory (here /cygdrive/f, i.e., F:\). For example, your current exclude rule - Temporary Items would match both F:\Temporary Items and

Re: [RSync] Re: rsync for the brave

2008-11-10 Thread Matt McCutchen
On Mon, 2008-11-10 at 10:59 -0700, Ashley M. Kirchner wrote: Matt McCutchen wrote: By the way, if some of your excludes are intended to match only files at the top level of F: (rather than in a subdirectory), consider anchoring them with a leading slash, e.g.: Can I assume that this is

Re: rsync for the brave

2008-11-09 Thread Michal Soltys
Ashley M. Kirchner wrote: It's not a folder that Windows will allow me to delete, so consequently rsync will attempt to do that and fail. Adding --exclude=Network Trash Folder has absolutely no effect what so ever. Any suggestions? You could use --ignore-errors - with this, rsync

Re: rsync for the brave

2008-11-09 Thread Matt McCutchen
On Sat, 2008-11-08 at 23:07 -0700, Ashley M. Kirchner wrote: Anyone here run rsync on a Win32 platform? I know, I'm a glutton for pain. Anyway, I'm using 'cwrsync' on one system to copy files from a local drive (F:) to a mapped (network) drive (Y:). The problem I'm having is with that

Re: [RSync] Re: rsync for the brave

2008-11-09 Thread Ashley M. Kirchner
Matt McCutchen wrote: I'm surprised that the exclude doesn't work. Could you post your whole rsync command line so I can see if anything else might be interfering? Keep in mind that this is the Win32 ported version (cwRsync) that I'm using. C:\Program Files\cwRsync\bin\rsync.exe -arvz

Re: rsync for the brave

2008-11-09 Thread Matt McCutchen
On Sun, 2008-11-09 at 17:50 -0700, Ashley M. Kirchner wrote: Matt McCutchen wrote: I'm surprised that the exclude doesn't work. Could you post your whole rsync command line so I can see if anything else might be interfering? Keep in mind that this is the Win32 ported version (cwRsync)

rsync for the brave

2008-11-08 Thread Ashley M. Kirchner
Anyone here run rsync on a Win32 platform? I know, I'm a glutton for pain. Anyway, I'm using 'cwrsync' on one system to copy files from a local drive (F:) to a mapped (network) drive (Y:). The problem I'm having is with that infamous 'Network Trash Folder'. I can't get it to ignore it on