TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
technote:config [2025/07/15 02:49] – created Scott Cunliffetechnote:config [2025/07/15 03:13] (current) – [Utility Config File Examples] Scott Cunliffe
Line 6: Line 6:
  
 ===== Config File Example ===== ===== Config File Example =====
 +
 +The config file has a path to the definition file, filter fields based on Customer-ID, Media-ID, Volume-ID and presence or lack of the Volume-ID in the scan file.
  
 <code> <code>
 traversal = traversal =
 { {
-   scanfile= { file="rename.ttidef"; };+   scanfile= { file="example.ttidef"; };
    customer =    customer =
    (    (
Line 37: Line 39:
 }; };
 </code> </code>
 +
 +In this example, the definition file is example.tttidef, if the file is not in the current working directory, the full path must be supplied.  The Customer-ID, Media-ID and Volume-ID filters are all set to the wildcard asterisk.
 +
 +The filter scanfile filter is set to true, so if the Volume-ID is present in the scan file, ship will be set to true.  In this case the Volume is processed by the utility program.  If the Volume-ID is not in the scan file, skip is set to true and the Volume-ID  is not processed and is bypassed.
 +
 +===== Utility Config File Examples =====
 +
 +[[technote:rename_volumes|Renaming Volume-ID's Using A Batch File]] \\
 +[[technote:add_remove_flags_by_last_read|Add Or Remove Flags Based Off Last Read Time]] \\
 +[[technote/list_added_at_repository|Volumes Added Within A Defined Date Range, Currently Located In A Selected Repository]]
 +
 +{{tag> technote cli rename config}}
technote/config.1752547754.txt.gz · Last modified: 2025/07/15 02:49 by Scott Cunliffe