Re: OS X xattr troubles (was Re: --exclude patterns)

2008-01-31 Thread Mike Bombich
On Jan 30, 2008, at 11:03 PM, Anthony Morton wrote: I have a similar problem. I'm trying to specify a custom per- directory filter using --filter='dir-merge .rsync-filter-m' but because the whole thing is double-quoted the filter rule arrives in single quotes. I can't simply leav

OS X xattr troubles (was Re: --exclude patterns)

2008-01-30 Thread Anthony Morton
I have a similar problem. I'm trying to specify a custom per- directory filter using --filter='dir-merge .rsync-filter-m' but because the whole thing is double-quoted the filter rule arrives in single quotes. I can't simply leave out the quotes here because the --filter option onl

Re: --exclude patterns

2008-01-30 Thread Anthony Morton
The shell does not strip the single quotes because they are inside double quotes. Thus, rsync is getting filter patterns containing single quotes, which would obviously prevent the filters from matching. You can just remove the single quotes, but then the shell will try to expand the wildca

Re: --exclude patterns

2008-01-30 Thread Matt McCutchen
On Thu, 2008-01-31 at 15:30 +1100, Anthony Morton wrote: > >> The shell does not strip the single quotes because they are inside > >> double quotes. Thus, rsync is getting filter patterns containing > >> single quotes, which would obviously prevent the filters from > >> matching. > >> You can

Re: --exclude patterns

2008-01-30 Thread Matthew Stier
Matt McCutchen wrote: On Mon, 2008-01-28 at 15:00 -0800, Randy Dunlap wrote: Sorry about the missing information. Here's the script, which still isn't working. Any help/suggestions would be wonderful. --- ~Randy #! /bin/sh # rsync /test/runs/ to $server:~rdunlap/pub/kerneltest/reports/r

Re: --exclude patterns

2008-01-29 Thread Matt McCutchen
On Mon, 2008-01-28 at 15:00 -0800, Randy Dunlap wrote: > Sorry about the missing information. Here's the script, > which still isn't working. > > Any help/suggestions would be wonderful. > --- > ~Randy > > > #! /bin/sh > # rsync /test/runs/ to $server:~rdunlap/pub/kerneltest/reports/runs/ > >

Re: --exclude patterns

2008-01-28 Thread Randy Dunlap
On Sat, 26 Jan 2008 10:27:03 -0800 Wayne Davison wrote: > On Fri, Jan 25, 2008 at 06:02:07PM -0800, Randy Dunlap wrote: > > rsync --include='/test/runs/***' \ > > --exclude='--exclude=/test/runs/? --exclude=/test/runs/?? > > --exclude=/test/runs/??? --exclude=/test/runs/1???' \ > > -avz -e ssh --

Re: --exclude patterns

2008-01-26 Thread Wayne Davison
On Fri, Jan 25, 2008 at 06:02:07PM -0800, Randy Dunlap wrote: > rsync --include='/test/runs/***' \ > --exclude='--exclude=/test/runs/? --exclude=/test/runs/?? > --exclude=/test/runs/??? --exclude=/test/runs/1???' \ > -avz -e ssh --progress --delete $srcdir $dest:$destdir/ Firstly, the weird optio

Re: --exclude patterns

2008-01-26 Thread Jon
Just blowing through my email quickly, but have a thought. I use include and exclude files rather than specifying them on the command line. Using files, I would think that including /test/runs/2??? would work and preclude the need for any excludes. I would think the same thing would work on the co