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:19] – [Environment] Scott Cunliffe | cli:tmss10page2csv [2025/07/04 04:52] (current) – [Sample Output File] Scott Cunliffe | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| **TMSSCHOMP** If defined the program will remove the number of characters defined from the beginning of the extracted string. | **TMSSCHOMP** If defined the program will remove the number of characters defined from the beginning of the extracted string. | ||
| - | ==== Files ==== | + | ===== Files ===== |
| **stdout:** Output Reports. \\ | **stdout:** Output Reports. \\ | ||
| Line 28: | Line 28: | ||
| **stdin:** Program input. | **stdin:** Program input. | ||
| + | ===== Example ===== | ||
| + | ==== Command Line Syntax ==== | ||
| + | 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 \\ | ||
| + | < | ||
| + | set TMSS10CHOMP=32 | ||
| + | TMSS10Page2CSV " | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== 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 | ||
| + | ==================================================================== | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Sample Output File ==== | ||
| + | media.csv | ||
| + | |||
| + | < | ||
| + | 101001L5, | ||
| + | 101002L5, | ||
| + | </ | ||
| + | |||
| + | ===== See Also===== | ||
| + | |||
| + | [[technote/ | ||
| + | |||
| + | --> Changelog | ||
| + | |||
| + | [filterrss http:// | ||
| + | <-- | ||
| + | <- ^ cli: | ||
cli/tmss10page2csv.1527124789.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
