technote:list
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technote:list [2026/02/17 22:34] – [Example] Scott Cunliffe | technote: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: | + | Create a plain text file called |
| - | + | ||
| - | < | + | |
| With the following contents (one pattern per line): | With the following contents (one pattern per line): | ||
| - | < | + | < |
| + | *PRD* | ||
| + | *production* | ||
| + | </ | ||
| + | {{prod_filters.png}} | ||
| ==== Using the LIST Filter in TapeMaster ==== | ==== Using the LIST Filter in TapeMaster ==== | ||
| Line 54: | 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 68: | 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 90: | Line 86: | ||
| Example list file contents: | Example list file contents: | ||
| - | < | + | < |
| + | *archive* | ||
| + | *dump* </ | ||
| - | This allows a single LIST filter to match multiple categories of Description | + | This allows a single LIST filter to match multiple categories of text. |
| - | ===== Notes ===== | + | < |
| - | + | ||
| - | 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). \\ | ||
| + | </ | ||
| ===== Example: Combining LIST with Standard Filters ===== | ===== Example: Combining LIST with Standard Filters ===== | ||
| Line 110: | 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: | ||
| - | < | + | < |
| + | *production* | ||
| + | *weekly backup* | ||
| + | *full backup* </ | ||
| Then the TapeMaster Description filter can be applied as: | Then the TapeMaster Description filter can be applied as: | ||
| Line 116: | Line 114: | ||
| < | < | ||
| - | This provides a centralised | + | This provides a centralized |
| + | |||
| + | |||
| + | 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: |
| + | [[technote: | ||
| - | 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.1771367686.txt.gz · Last modified: 2026/02/17 22:34 by Scott Cunliffe
