Networker

Re: [Networker] Windows Global Directive

2006-11-14 19:18:35
Subject: Re: [Networker] Windows Global Directive
From: Stan Sander <ssande AT SANDIA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 14 Nov 2006 17:13:17 -0700
Lisa Green wrote:
We are running Networker 7.2.1 on a Windows 2003 server. I am trying to get a Global directive setup that will skip certain types of files on all hard drives. What I have is this:

<<"C:\">>
skip: *.tmp
<<"D:\">>
skip: *.tmp
<<"E:\">>
skip: *.tmp
<<"F:\">>
skip: *.tmp
<<"C:\">>
skip: *.mdf
<<"D:\">>
skip: *.mdf
<<"E:\">>
skip: *.mdf
<<"F:\">>
skip: *.mdf
<<"C:\">>
skip: *.ldf
<<"D:\">>
skip: *.ldf
<<"E:\">>
skip: *.ldf
<<"F:\">>
skip: *.ldf
<<"C:\">>
skip: *.sdb
<<"C:\">>
skip: *.edb
<<"E:\">>
skip: *.edb
<<"F:\">>
skip: *.edb
<<"C:\">>
skip: *.log
<<"F:\">>
skip: *.log
<<"E:\">>
skip: *.stm
<<"C:\">>
skip: *.stm

This doesn't seem to be working. When I looked at the MAN pages, it has the following:
When multiple directory specifications are used, directives that follow a
directory specification are applied to that directory until the next directory specification. You cannot use wildcards in directory specifications.

Does anyone know of a way to do this in the Windows environment with a Global directive and not a local one?

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER


Try:

<< / >>
+skip: *.log *.stm *.edb *.sdb *.mdf *.ldf

and so forth. The << / >> in a windows context means "all local drives" The +skip will just ensure that it will skip those file types however deep they may be in the tree and on whatever drive they may appear.

--
Stan Sander - CSU Special Projects  (505)284-4915
ASAP, LLC, Contractor assigned to Sandia National Laboratories
Unix Systems Administrator

Microsoft: You've got questions. We've got a dancing paperclip.

To sign off this list, send email to listserv AT listserv.temple DOT edu and type 
"signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>