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
|