Exclude

tim.conway at philips.com tim.conway at philips.com
Thu Jun 20 14:24:03 EST 2002


Since you use "read only = no", I assume you're sending TO the rsyncd, 
which is not well supported.  I think you'll have to mandate the exclude 
on the client side.

SunOS 5.7           Last change: 12 Feb 1999                    4

Headers, Environments, and Macros                  rsyncd.conf(5)

exclude
          The "exclude" option allows  you  to  specify  a  space
          separated  list of patterns to add to the exclude list.
          This is equivalent to the client specifying these  pat-
          terns with the --exclude option except that the exclude
          list is not passed to the client and thus only apply on
          the  server.   Only  one "exclude" option may be speci-
          fied, but you can use "-" and "+"  before  patterns  to
          specify exclude/include.

          Note that this option is not designed with strong secu-
          rity  in  mind,  it is quite possible that a client may
          find a way to bypass this exclude list. If you want  to
          absolutely ensure that certain files cannot be accessed
          then use the uid/gid options in combination  with  file
          permissions.






Tim Conway
tim.conway at philips.com
303.682.4917 office, 3039210301 cell
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?"




"Jean-Hugues BELPOIS" <Jean-Hugues.Belpois at univ-brest.fr>
Sent by: rsync-admin at lists.samba.org
06/19/2002 08:48 AM
Please respond to "Jean-Hugues BELPOIS"

 
        To:     <rsync at lists.samba.org>
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Exclude
        Classification: 



Hello,

Is there a way to exclude files using wildcards in the rsyncd.conf, to get
the same effect of --exclude option in using rsync in client mode ?
I'm trying to exclude all the ~* *.bak etc... using :
[systeme]
    path = /home2
    read only = no
    exclude = ~* *.bak *.tmp

And it doesn't work, file are alaways copied.

Is anybody know the solution ?

thank you

jhb



-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html







More information about the rsync mailing list