TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:list

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:list [2026/02/17 22:36] – [Example LIST File] Scott Cunliffetechnote:list [2026/02/18 00:40] (current) – [Example LIST File] Scott Cunliffe
Line 38: Line 38:
 ==== Example LIST File ==== ==== Example LIST File ====
  
-Create a plain text file called''prod_filters.txt''+Create a plain text file called ''prod_filters.txt''
  
 With the following contents (one pattern per line): With the following contents (one pattern per line):
Line 47: Line 47:
 </code> </code>
  
 +
 +{{prod_filters.png}}
 ==== Using the LIST Filter in TapeMaster ==== ==== Using the LIST Filter in TapeMaster ====
  
Line 55: Line 57:
 This will match any Description containing: This will match any Description containing:
  
-"prod" +prod \\ 
- +PRD \\ 
-"PRD+production \\
- +
-"production"+
  
 ===== Expected Matching Results ===== ===== Expected Matching Results =====
Line 69: Line 69:
 The following descriptions would typically match: The following descriptions would typically match:
  
-Production database weekly backup +Production database weekly backup \\ 
- +Prod DB full backup \\ 
-Prod DB full backup +Production export dump \\ 
- +PRD database BKP \\ 
-Production export dump +Prod data backup set \\
- +
-PRD database BKP +
- +
-Prod data backup set+
  
 The following descriptions would typically not match: The following descriptions would typically not match:
  
-Development database backup +Development database backup \\ 
- +Weekly archive - finance system \\
-Weekly archive - finance system+
  
 ===== Using Wildcards in LIST Files ===== ===== Using Wildcards in LIST Files =====
Line 91: Line 86:
 Example list file contents: Example list file contents:
  
-<code> *backup* *archive* *dump* </code>+<code>*backup*  
 +*archive*  
 +*dump* </code>
  
-This allows a single LIST filter to match multiple categories of Description text.+This allows a single LIST filter to match multiple categories of text.
  
-===== Notes ===== +<note>
- +
-LIST files are read sequentially until a match is found. +
- +
-Blank lines should be avoided. +
- +
-Each line should contain a valid TapeTrack filter pattern. +
- +
-LIST filters can be used in TapeMaster filters and TapeTrack CLI filters (where supported).+
  
 +LIST files are read sequentially until a match is found. \\
 +Blank lines should be avoided. \\
 +Each line should contain a valid TapeTrack filter pattern. \\
 +LIST filters can be used in TapeMaster filters and TapeTrack CLI filters (where supported). \\
 +</note>
 ===== Example: Combining LIST with Standard Filters ===== ===== Example: Combining LIST with Standard Filters =====
  
Line 111: Line 105:
 For example, a LIST file could contain all patterns related to production backups: For example, a LIST file could contain all patterns related to production backups:
  
-<code> *prod* *production* *weekly backup* *full backup* </code>+<code>*prod*  
 +*production*  
 +*weekly backup*  
 +*full backup* </code>
  
 Then the TapeMaster Description filter can be applied as: Then the TapeMaster Description filter can be applied as:
Line 117: Line 114:
 <code> *LIST:prod_filters.txt </code> <code> *LIST:prod_filters.txt </code>
  
-This provides a centralised way to manage filtering rules.+This provides a centralized way to manage filtering rules. 
 + 
 + 
 +LIST filtering provides a simple way to match a field against multiple patterns stored in an external file.  It is ideal for environments where filtering rules must be maintained and reused across operators, jobs, or automation scripts. 
 + 
 +=====See Also=====
  
-===== Summary =====+[[general:pattern_matching|pattern matching]] \\ 
 +[[technote:FUZZY|FUZZY Matching]] \\
  
-LIST filtering provides a simple way to match a field against multiple patterns stored in an external file. 
  
-It is ideal for environments where filtering rules must be maintained and reused across operators, jobs, or automation scripts.+{{tag> technote pattern string}}
technote/list.1771367766.txt.gz · Last modified: 2026/02/17 22:36 by Scott Cunliffe