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:31] – [Command Line Syntax] Scott Cunliffe | cli:tmss10page2csv [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 31: | Line 31: | ||
==== Command Line Syntax ==== | ==== Command Line Syntax ==== | ||
- | |||
- | <sxh> | ||
- | set TMSS10CHOMP=32 | ||
- | TMSS10Page2CSV " | ||
- | </ | ||
Define TMSSCHOMP to remove the first 32 bytes from extracted string \\ | Define TMSSCHOMP to remove the first 32 bytes from extracted string \\ | ||
- | Set first argument to define page break, any string starting with character = \\ | + | Set first argument |
- | Extraction filter for field 1 \\ | + | Extraction filter |
- | Extraction filter for field 2 \\ | + | Extraction filter |
Direct input file media.txt to stdin \\ | 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, | ||
+ | </ | ||
+ | --> Changelog | ||
+ | [filterrss http:// | ||
+ | <-- | ||
+ | <- ^ cli: |
cli/tmss10page2csv.1527125478.txt.gz · Last modified: 2025/01/21 22:07 (external edit)