cli:tmss10page2csv
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cli:tmss10page2csv [2018/05/24 01:30] – [Files] Scott Cunliffe | cli:tmss10page2csv [2025/07/04 04:52] (current) – [Sample Output File] Scott Cunliffe | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| ==== Command Line Syntax ==== | ==== Command Line Syntax ==== | ||
| - | <sxh> | + | Define TMSSCHOMP to remove the first 32 bytes from extracted string \\ |
| + | Set first argument (*=*") to define page break, any string starting with character = \\ | ||
| + | Extraction filter (" | ||
| + | Extraction filter ("Data Expiration: | ||
| + | Direct input file media.txt to stdin \\ | ||
| + | |||
| + | <code> | ||
| set TMSS10CHOMP=32 | set TMSS10CHOMP=32 | ||
| - | TMSS10Page2CSV " | + | TMSS10Page2CSV "===*" " |
| - | </sxh> | + | </code> |
| + | |||
| + | |||
| + | ===== Sample Input File ===== | ||
| + | |||
| + | Media.txt | ||
| + | |||
| + | < | ||
| + | Media GUID: | ||
| + | Media ID: | ||
| + | Media Type: | ||
| + | Volume Group: | ||
| + | Description: | ||
| + | Barcode: | ||
| + | Created: | ||
| + | Last Mount: | ||
| + | Volume Expiration: | ||
| + | Data Expiration: | ||
| + | Last Written: | ||
| + | Last Read: - | ||
| + | Robot Type: | ||
| + | Robot Control Host: | ||
| + | Robot Number: | ||
| + | Number of Mounts: | ||
| + | Media Status: | ||
| + | Retention Period: | ||
| + | Last Header Offset: | ||
| + | Origin Host: NONE | ||
| + | Master Host: sac100.gazillabyte.com | ||
| + | Pool Number: | ||
| + | Volume Pool: Scratch | ||
| + | Previous Pool Name: | ||
| + | Vault Name: | ||
| + | Date Vaulted: | ||
| + | Return Date: 06/04/2021 18:05 | ||
| + | ==================================================================== | ||
| + | Media GUID: | ||
| + | Media ID: | ||
| + | Media Type: | ||
| + | Volume Group: | ||
| + | Description: | ||
| + | Barcode: | ||
| + | Created: | ||
| + | Last Mount: | ||
| + | Volume Expiration: | ||
| + | Data Expiration: | ||
| + | Last Written: | ||
| + | Last Read: - | ||
| + | Robot Type: | ||
| + | Robot Control Host: | ||
| + | Robot Number: | ||
| + | Number of Mounts: | ||
| + | Media Status: | ||
| + | Retention Period: | ||
| + | Last Header Offset: | ||
| + | Origin Host: NONE | ||
| + | Master Host: sac100.gazillabyte.com | ||
| + | Pool Number: | ||
| + | Volume Pool: Scratch | ||
| + | Previous Pool Name: | ||
| + | Vault Name: | ||
| + | Date Vaulted: | ||
| + | Return Date: 06/04/2021 18:05 | ||
| + | ==================================================================== | ||
| - | Define TMSSCHOMP to remove the first 32 bytes from extracted string | + | </ |
| - | Set first argument to define page break, any string starting with character = | + | |
| - | Extraction filter for field 1 | + | |
| - | Extraction filter for field 2 | + | |
| - | Direct input file media.txt to stdin | + | |
| + | ==== Sample Output File ==== | ||
| + | media.csv | ||
| + | < | ||
| + | 101001L5, | ||
| + | 101002L5, | ||
| + | </ | ||
| + | ===== See Also===== | ||
| + | [[technote/ | ||
| + | --> Changelog | ||
| + | [filterrss http:// | ||
| + | <-- | ||
| + | <- ^ cli: | ||
cli/tmss10page2csv.1527125454.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
