Dave Dykstra wrote:
> On Fri, Sep 29, 2000 at 10:30:15AM +0200, Ingo Schmiegel wrote:
> ...
> > Here's the module's config:
> > =========================
> > [ test ]
> > comment = RSync test
> > path = /teeusr/teeisc/scratch/rsync_test/repository
> > include = /bla1 \
> > /foo1/bar3/ \
> > /foo2/
> > exclude = /*
> > =========================
> ...
>
> > |----- foo1
> > | |----- bar1
> > | |----- bar2
> > | |----- bar3
> > | | |----- oops
> ...
> > 1] Why does rsync not list nor extract /foo1/bar3/* but the other two when I
> > type:
> > > cd ./local1
> > > rsync -a host::test .
> > > find . -print | sed -e 's/[^\/]*\//|----- /g' -e 's/----- |/ |/g'
> > .
> > |----- foo2
> > | |----- bar1
> > | |----- bar2
> > | |----- bar3
> > |----- bla1
>
> You need an additional include of /foo1/bar3/* in your config file for that.
That still doesn't work. Now I've even entered:
[ test ]
comment = RSync test
path = /teeusr/teeisc/scratch/rsync_test/repository
include = /bla1 \
/foo1/bar3 \
/foo1/bar3/* \
/foo1/bar3/** \
/foo2/
exclude = /*
..but I still get only bla1 and foo2. I don't quite understand why it's
sufficient to specify /foo2/ to get all files and subdirs of foo2 but a
/foo1/bar3/ does not work to get all dirs and files from there. Is this somehow
related to my exclude line?
Cheers,
Ingo