I have created two new files /export/home/bin/test_temp.delete_me and /export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me on the rsync server and am using the following exclude file. + bin/ + nflmg/scripts/regional/misc_loaders/ - core - *.bz2 - *.orig - *.BAK - *.bak - *.old - *.csv - *.tmp - *.4chart - *.xls - *.difftrx - *.difftra - *.rawbad - *.trx.all - *.tar.* - *.tar - *.gz - *.old - *.log.* - *.zip - *.Z - /* I'm running the following command line on the client side: # /usr/local/bin/rsync -avrnz --exclude-from=/davet/rsync.webmstr1 --stats webmstr@primey::webmstr1 /export/home/webmstr However, rsync finds /export/home/bin/test_temp.delete_me but NOT /export/home/webmstr/nflmg/scripts/regional/misc_loaders/test_temp.delete_me . I don't understand why it finds the new file in bin/ but not in nflmg/scripts/regional/misc_loaders/? I've confirmed that both files are missing on the client, tried switching locations of the paths in the exclude file, adding the wildcard (*), switching the order, explicit pathing, double checked my typing, and restarting the rsync daemon. I just can't see the problem. What am I missing? Thanks! Dave
On Fri, Apr 23, 2004 at 03:18:16PM -0400, Dave.Turner@VerizonWireless.com wrote:> + nflmg/scripts/regional/misc_loaders/That rule is useless because your last rule excludes nflmg before it can be scanned for files. Try this config file instead: - core - *.bz2 - *.orig - *.BAK - *.bak - *.old - *.csv - *.tmp - *.4chart - *.xls - *.difftrx - *.difftra - *.rawbad - *.trx.all - *.tar.* - *.tar - *.gz - *.old - *.log.* - *.zip - *.Z + /bin/ + /nflmg/ - /* + /nflmg/scripts/ - /nflmg/* + /nflmg/scripts/regional/ - /nflmg/scripts/* + /nflmg/scripts/regional/misc_loaders/ - /nflmg/scripts/regional/* ..wayne..
<Sorry, didn't mean to send to your personal email> Hope, I'm not being a pain, but... In, my config, why does [- /*] exclude [+ nflmg/scripts/regional/misc_loaders/] but not [+ bin/]? Also, the config you gave me, still ignored [+ nflmg/scripts/regional/misc_loaders/] Thanks, Dave -----Original Message----- From: Turner, Dave Sent: Friday, April 23, 2004 4:12 PM To: 'Wayne Davison' Subject: RE: More confusion on exclude rules Hope, I'm not being a pain, but... In, my config, why does [- /*] exclude [+ nflmg/scripts/regional/misc_loaders/] but not [+ bin/]? Also, the config you gave me, still ignored [+ nflmg/scripts/regional/misc_loaders/] Thanks, Dave -----Original Message----- From: Wayne Davison [mailto:wayned@samba.org] Sent: Friday, April 23, 2004 3:47 PM To: Dave.Turner@VerizonWireless.com Cc: rsync@lists.samba.org Subject: Re: More confusion on exclude rules On Fri, Apr 23, 2004 at 03:18:16PM -0400, Dave.Turner@VerizonWireless.com wrote:> + nflmg/scripts/regional/misc_loaders/That rule is useless because your last rule excludes nflmg before it can be scanned for files. Try this config file instead: - core - *.bz2 - *.orig - *.BAK - *.bak - *.old - *.csv - *.tmp - *.4chart - *.xls - *.difftrx - *.difftra - *.rawbad - *.trx.all - *.tar.* - *.tar - *.gz - *.old - *.log.* - *.zip - *.Z + /bin/ + /nflmg/ - /* + /nflmg/scripts/ - /nflmg/* + /nflmg/scripts/regional/ - /nflmg/scripts/* + /nflmg/scripts/regional/misc_loaders/ - /nflmg/scripts/regional/* ..wayne..