Guralp Systems CMG-DCM build <10,000 User Manual
Page 248

Acquisition Modules and Platinum Firmware
Monitoring Operations
14.5.1.1 Configurable parameters
All parameters for a directory cleaner instance are displayed on a single
screen:
Delete: Causes this instance to be deleted from the system when the form is
submitted.
Directory: Specifies the directory to be monitored and cleaned.
File sorting: Specifies the method used to determine which files should be
deleted when the directory becomes too large. Several methods are available:
•
Lexical (alphabetical): this method sorts the files by their names in
strict ASCII order. If the files are named after dates (in YYYYMMDD
order) then this method will remove the oldest files first.
•
Reverse lexical: this method also uses strict ASCII order. If the files
are named after dates (in YYYYMMDD order) then this method will
remove the newest files first.
•
By version number: this method attempts to use a more natural sort
order. It can cope with file-names like a0, a1, a2..... a9, a10, a11 and
recognise the sequence. Files with lower numbers will be removed
first. The exact algorithm comes from the standard GNU/Linux
strverscmp function, for which documentation can easily be found
on the web.
•
Reverse version number: this method uses the same comparison
function as the one above but deletes files in the reverse order.
248
Issue E - February 2014