This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Karen, We do the same for our data aging . . . with one exception: nice find ${MOUNT} -mount -type f -mmin ${CUTOFF) -exec rm -f {} \; Where CUTOFF is a "+" value. The "nice" can be crucial with NEXRAD data, as find can sometimes monopolize processing at the expense of more valuable processing. -- Stonie R. Cooper Planetary Data, Incorporated On Wednesday 05 May 2004 05:06 pm, Karen Cooper wrote: > FYI: regarding the scour script. > > On linux a simple modification to the scour script can allow you to > remove files on the order of minutes (instead of the default days). It > also works on Solaris if you install gfind and use it as opposed to the > Solaris find command. > > The change is: > > original: > find . -type f -mtime +$FINDAGE -name "$pattern" -exec rm -f {} \;) \ > > new: > find . -type f -mmin +$FINDAGE -name "$pattern" -exec rm -f {} \;) \ > > The just modify your scour settings to be minutes not days. > > This has worked very well on many of my systems where I ony keep 1-4 > hours of data at a time.