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
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
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
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
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
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/
>
>
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 --
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
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