Actually, though the file IS read top-to-bottom, that is irrelevant for
the exclude (and for most (all?)) directives. there can be only one for
the module. I don't know the behaviour when there are multiple, whether
subsequent ones are ignored, the last one read wins, or it throws an
error. the patterns all go on the single line, and are read in order. If
you want to get fancy, use "exclude from", and put all your patterns
in a
seperate file. it'll be easier than maintaining a huge space-delimited
list.
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
Scott Russell <lnxgeek@us.ibm.com>
Sent by: rsync-admin@lists.samba.org
11/01/2001 06:18 AM
To: rsync@lists.samba.org
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject: Re: Excludes in /etc/rsyncd.conf
Classification:
On Wed, Oct 31, 2001 at 01:38:15PM -0800, Jason Helfman
wrote:> Thought that you are able to add a simple
>
> -
> +
>
> with paths or file names at the bottom of a file and run an rsync and
> those are then recognized inclusions or exclusions from the
> synchronization
You can do this but keep in mind that the file is read top to bottom. The
first matching + / - rule is the one operated upon and the others below it
are ignored.
--
Regards,
Scott Russell (lnxgeek@us.ibm.com)
Linux Technology Center, System Admin, RHCE.
T/L 441-9289 / External 919-543-9289
http://bzimage.raleigh.ibm.com/webcam