need rsync.conf exclude example
Jon Drukman
jsd at cluttered.com
Fri Oct 7 16:44:40 GMT 2005
on the client i am running the following command:
rsync -Cav --exclude=templates_c --port=8738 GNE_FRAMEWORK gamespot_5
c14-gs-ww1::nfs/gamespot
on the server i have the following module declaration:
[nfs]
path = /nfs/htdocs
read only = no
use chroot = no
exclude = gamespot_5/promos/ gamespot_5/misc/
obviously my intent is to prevent the "promos" and "misc" subdirectories
from being copied from client to server. this is not functioning
though. what do i have to do to get it to work?
my logfile shows this:
2005/10/07 09:38:45 [31991] rsync to nfs/gamespot from
c10-gs-dev1.cnet.com (10.16.98.21)
2005/10/07 09:38:45 [31991] gamespot_5/
2005/10/07 09:38:45 [31991] gamespot_5/promos/
2005/10/07 09:38:45 [31992] wrote 32 bytes read 23896 bytes total size
3796806
clearly it's not paying any attention to the exclude.
-jsd-
More information about the rsync
mailing list