NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
It seems to me that the best way to do this is to have a separate file system (directories) that you can move files that you want to keep into. I'm assuming that "interesting cases" pop up unexpectedly but that you can decide that they are a "keeper" soon enough to save them from the scour program. A script that would go through all the directories and move/copy the desired files over into the "protected" file system would be easy to run. The "protected file system" could look like the gempak file system, so that a simple directory pointer change would make the software easy to manage. Fred -----Original Message----- Sent: Tuesday, July 15, 2003 10:52 AM Cc: ldm-users@xxxxxxxxxxxxxxxx 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/* >+-------------------------------------------------------------------------- ---+ > > >
ldm-users
archives: