TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


general:pattern_matching

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
general:pattern_matching [2020/01/23 01:50] – [Question Mark (?)] Scott Cunliffegeneral:pattern_matching [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Pattern matching ======+====== Pattern Matching And Filter Strings======
  
-TapeTrack has powerful pattern matching functionality that can be utilized globally in [[desktop:master|TapeTrack TapeMaster]].+TapeTrack has powerful pattern matching functionality that can be utilized globally in [[desktop:master|TapeMaster]]. 
 + 
 +===== TapeMaster Quick Filters ===== 
 + 
 +TapeMaster fields can be filtered by Repository, Flags, Next Move and/or Container by using the funnel buttons on the right of the filter fields. 
 + 
 +To use quick filters just click on the required column funnel and select the filter value. 
 + 
 +{{tapemaster_filters.png}}
  
  
Line 16: Line 24:
 ==== Asterisk (*) ==== ==== Asterisk (*) ====
  
-The **Asterisk is used** as a wildcard to allow string matching in multiple positions and variable string lengths.+The **Asterisk is used** as a wildcard to allow String matching in multiple positions and variable String lengths.
  
   * An **Asterisk** before a set of characters will show all items that end with those characters. \\ Using the filter ''*L4'' in the [[object:volume|Volume-ID]] field will show all [[object:volume|Volume-ID's]] ending in L4.  \\ {{:general:filter_values_ast_value.png}} \\ \\   * An **Asterisk** before a set of characters will show all items that end with those characters. \\ Using the filter ''*L4'' in the [[object:volume|Volume-ID]] field will show all [[object:volume|Volume-ID's]] ending in L4.  \\ {{:general:filter_values_ast_value.png}} \\ \\
Line 85: Line 93:
 === Syntax === === Syntax ===
  
-  * ''YYYY-MM-DD'': ISO Date format. +^ Syntax      ^ Description                                                                                                                       ^ 
-  ''*'': Today. +YYYY-MM-DD  ISO Date Format                                                                                                                   | 
-  * ''*±x'': Today plus or minus number of days (x). +          | Today                                                                                                                             | 
-  * ''M'': The first day of this month. +| W           | This Week                                                                                                                         | 
-  * ''m'': The last day of this month. +| P           | The oldest Date                                                                                                                   | 
-  * ''Y'': The first day of the year. +| F           | The most Future Date                                                                                                              | 
-  * ''y'': The last day of the year. +*±x         | Today ± number of days (x).                                                                                           | 
-  * ''M±x'': The first day of the month plus or minus number of months (x). +          | The first day of this month                                                                                                       | 
-  * ''M±x±y'': The first day of the month plus or minus number of months (x), plus or minus number of days (y). +          | The last day of this month.                                                                                                       | 
-  * ''Y±x'': The first day of the year plus or minus months. +          | The first day of the year.                                                                                                        | 
-  * ''Y±x±y'': The first day of the year plus or minus number of years (x) plus or minus number of months (y). +          | The last day of the year.                                                                                                         | 
-  * ''Y±x±y±z'': The first day of the year plus or minus number of years (x) plus or minus number of months (y) plus or minus number of days (z).+M±x         | The first day of the month ± number of months (x).                                                                    | 
 +M±x±y       | The first day of the month ± number of months (x), ± number of days (y).                                  | 
 +Y±x         | The first day of the year ± number of years                                                                         | 
 +Y±x±y       | The first day of the year ± number of years (x) ± number of months (y).                                   | 
 +Y±x±y±z     | The first day of the year ± number of years (x) ± number of months (y) ± number of days (z).  |
  
  
 === Examples === === Examples ===
  
-|*-10     | 10 days ago  | +^ Date Syntax ^ Description ^ 
-|Y        | the beginning of this year  +|*-10     Today - 10 days  | 
-|M-1      the last day of last month  | +W-10    10 Weeks ago | 
-|y-1      | the last day of last year  | +| W+2     | 2 Weeks in the future | 
-|Y-1+3-1 the last day of February last year  |+| M       | The first day of this month 
 +| M-1     The first day of last month  | 
 +|Y        | The beginning of this year  | 
 +|y-1      | The last day of last year  | 
 +|Y-1+3-1 The last day of February last year  | 
 +| P       | The oldest date | 
 +| P+50    | The oldest date plus 50 days | 
 +| F       | The most future date | 
 + 
 + 
 +^ Date Range Syntax ^ Description ^ 
 +| *-10:* | 10 days ago until today | 
 +| W-2:* | Two weeks ago until today | 
 +| M-4:W+2 | First day of four months ago until two weeks from today | 
 + 
 +=== Pattern Matching === 
 + 
 +^ Syntax ^ Description ^ 
 +| ???? | 4 Character long | 
 +| ????* | 4 or more long | 
 +| !(?*) | Empty string,  not 1 character or more 
 + 
 + 
 +{{tag> date technote tapemaster lite cli}}
  
general/pattern_matching.1579744220.txt.gz · Last modified: 2025/01/21 22:07 (external edit)