Exclude

tim.conway at philips.com tim.conway at philips.com
Fri Oct 19 23:00:14 EST 2001


--daemon doesn't take the ---exclude* options.  Put "exclude from = /etc/rsync.exclude" in your rsyncd.conf.

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips
Available as 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?"





"Chao,Eisen R." <Eisen.Chao at cna.com>@lists.samba.org on 10/18/2001 05:52:29 PM

Sent by:  rsync-admin at lists.samba.org


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



Hi Folks,

I'm running rsync between an NT client and a Solaris 7 Server (Ver 2.4.6).

I'd like to be able to exclude the following directory:

     /opt/IBMHTTPDLOG/archivelogs

but retrieve

     /opt/IBMHTTPDLOG

My setup is:

     rsync -av -p -e rsync at server1.cna.com:/opt/IBMHTTPDLOG/
F:/opt/IBMHTTDLOG
     (client)

     rsync --daemon --exclude-from=/etc/rsync.exclude
     (server)


What I get is *everything* including the contents of the dir ./archivelogs.
What is the proper syntax ? I've tried setting up my entry in rsync.exclude
as:

     '/opt/IBMHTTPDLOG/archivelogs'
     archivelogs/
     'archivelogs/'
     ./archivelogs
     ./archivelogs/

I've also tried setting the server-side rsync daemon as --exclude
<blah-blah> to no avail.

Thanks in advance,

Eisen Chao
CNA Insurance












More information about the rsync mailing list