Exclude
Chao,Eisen R.
Eisen.Chao at cna.com
Fri Oct 19 09:52:29 EST 2001
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