On Sun, 18 Feb 2007 16:30:36 +1300, [EMAIL PROTECTED] wrote:

>hi,
>
>i am rsyncing -current packages & taking advantage of rsync's pattern 
>matching to avoid specifying the package versions, to make a local 
>repository for upgrades.
>
>there are several packages that i _don't_ want to retrieve flavours for, 
>e.g. cyrus-sasl as an example. but i haven't been able to force just the 
>base package, without specifying identically the filename - which 
>defeats the purpose of what i was trying to achieve.
>
>here's my current go, trimmed to show the specific problem:
>
>$ cat snapshot.inc
># include file for rsync
>cvsync-*
>cyrus-sasl-*
>- cyrus-sasl-*db*
>- cyrus-sasl-*mysql*
>- cyrus-sasl-*ldap*
>db-4*
>- *.tgz
>
>$ rsync -thrivz --stats --del -n 
>rsync://rsync.de.openbsd.org/OpenBSD/snapshots/packages/i386 
>/var/tmp/packages/ --include-from=snapshot.inc 
>
>[...]
>
> >f+++++++ i386/cvsync-0.24.19.tgz
> >f+++++++ i386/cyrus-sasl-2.1.21p2-db4.tgz
> >f+++++++ i386/cyrus-sasl-2.1.21p2-ldap.tgz
> >f+++++++ i386/cyrus-sasl-2.1.21p2-mysql.tgz
> >f+++++++ i386/cyrus-sasl-2.1.21p2.tgz
> >f+++++++ i386/db-4.2.52p11.tgz
> >f+++++++ i386/index.txt
>
>[...]
>
>but I _don't_ want to retrieve all the{db4,ldap,mysql} flavors - just 
>the base one. can anybody help?

I don't have a chance to check (no rsync file or man page to check)
but:

Maybe in the rules you constructed first match wins. Once a match
happens no further rules are evaluated?

Otherwise you might go ask on an rsync list - I'd guess the folk there
wouldn't have to go look at the manpages.... It really is OT here.

Please reply to the list only. Due to the nicely open list (which I
heartily approve of) being archived with unmasked addresses, all mail
to the sender address is >/dev/null

In the beginning was The Word
and The Word was Content-type: text/plain
The Word of Rod.

Reply via email to