Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: 20030714: ldmadmin scour ignore option?

Couldn't you just "chown" or "chmod" the directories/files to keep the ldm user from being able to delete what you want to keep?

Just one who tends to seek simple solutions, though I've been known to find the most difficult way to complete a simple task in the past! (-:

Cheers,

Chris Herbster


Tom Yoksas wrote:

From:  Jared P Bostic <jpbostic@xxxxxxxxxxxxxxxxxxxxx>
Organization:  Oklahoma Climatological Survey Operations Center
Keywords:  200307142148.h6ELm7Ld016870 LDM scour

Jared,

I've looked through the man pages and doc's re: scouring and, having
not found anything, am curious about the following.  Is there a way
to tell the ldmadmin scour utility to ignore certain directories?

Yes.  You configure scouring by setting directories and file name
masks in the ~ldm/etc/scour.conf file.  To not scour a directory,
simply don't include it in your scour.conf.

In my case, I'd like to keep some case study data in the same directory
as some stuff that needs to be scoured.  Is there a way to tell scour
to ignore something, for example, over a certain age or as listed in
some kind of .ignore pattern action or file (a la CVS)?

There is no 'ignore' pattern, but you can specify a simple regular
expression as the pattern for files you do want to scour.  The files
you want to keep would, therefore, have to be named so that they don't
match the pattern.

Any help appreciated!

Jared Bostic
OCS/Oklahoma Mesonet
--
----------------------------------------------------
Jared P. Bostic
Oklahoma Climatological Survey Operations Center
Email:  jpbostic@xxxxxxxxxxxxxxxxxxxxx
USmail: 100 East Boyd, Suite 1210, Norman, OK  73019
Phone: (405) 325-3231 / Pager: (405) 530-4478
Fax:   (405) 325-2550
----------------------------------------------------

Tom
--
+-----------------------------------------------------------------------------+
* Tom Yoksas                                             UCAR Unidata Program *
* (303) 497-8642 (last resort)                                  P.O. Box 3000 *
* yoksas@xxxxxxxxxxxxxxxx                                   Boulder, CO 80307 *
* Unidata WWW Service                             http://www.unidata.ucar.edu/*
+-----------------------------------------------------------------------------+




 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690