Re: Excludes in /etc/rsyncd.conf

2001-11-01 Thread Scott Russell

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 ([EMAIL PROTECTED])
 Linux Technology Center, System Admin, RHCE.
 T/L 441-9289 / External 919-543-9289
 http://bzimage.raleigh.ibm.com/webcam





Re: Excludes in /etc/rsyncd.conf

2001-11-01 Thread tim . conway

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
[EMAIL PROTECTED]
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(, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
.\n '
There are some who call me Tim?




Scott Russell [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
11/01/2001 06:18 AM

 
To: [EMAIL PROTECTED]
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 ([EMAIL PROTECTED])
 Linux Technology Center, System Admin, RHCE.
 T/L 441-9289 / External 919-543-9289
 http://bzimage.raleigh.ibm.com/webcam