cli:list_added_at_repository
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cli:list_added_at_repository [2018/01/22 23:24] – [Configuration File] Scott Cunliffe | cli:list_added_at_repository [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== | ====== | ||
- | Listing all volumes | + | Listing all [[object: |
- | You must first extract an inventory listing of all volumes | + | You must first extract an inventory listing of all [[object: |
- | ===== Extracting An Inventory Of Volumes | + | The comparison of the [[object: |
- | Using the command line program [[TMSS10ListHistory]], | + | {{cli_date_range_repository.png}} |
- | * -S user: | + | ===== Extracting Volumes |
- | * -R " | + | |
- | * -t "*Added*" to only extract volume added records | + | |
- | * -V " | + | |
- | Output from this process needs to be captured and written to file using stdout. | + | Using the command line program [[TMSS10ListHistory]], |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | To extract all volumes added between the start of the year 2000 and the end of 2010 and write to file historyOut.txt | + | Output from this process is captured |
- | < | + | To extract all [[object: |
+ | |||
+ | < | ||
TMSS10ListHistory -S user: | TMSS10ListHistory -S user: | ||
</ | </ | ||
Line 24: | Line 27: | ||
===== Configuration File ===== | ===== Configuration File ===== | ||
- | The configuration file is used for traversal of the history (volumes | + | The configuration file is used for traversal of the history ([[object: |
- | The following example instructs TapeTrack to compare each volume ID to the scanfile, if it is present include it in, otherwise skip it and move to the next volume. | + | The following example instructs TapeTrack to compare each [[object:volume|Volume-ID]] to the Scanfile, if it is present include it in the output file, otherwise skip it and move to the next [[object:volume|Volume]]. |
- | < | + | < |
traversal | traversal | ||
{ | { | ||
Line 59: | Line 62: | ||
}; | }; | ||
</ | </ | ||
+ | |||
+ | ===== Definition File ===== | ||
+ | |||
+ | The [[concepts: | ||
+ | |||
+ | <code plain;> | ||
+ | # input file for Volume comparison (TMSS10ListHistory output) | ||
+ | SetFile(" | ||
+ | |||
+ | # extract Volume-ID | ||
+ | Extract(BARCODE, | ||
+ | |||
+ | # skip header (9 lines) | ||
+ | SetHeaderCount(9); | ||
+ | |||
+ | # exclude any line starting with - | ||
+ | AddString(Exclusion, | ||
+ | </ | ||
+ | |||
+ | ===== Inventory Of Volumes Added Within A Defined Date Range Located In A Specified Repository ===== | ||
+ | |||
+ | Using the list of [[object: | ||
+ | |||
+ | <code plain;> | ||
+ | TMSS10Inventory -S tapemaster: | ||
+ | </ | ||
+ | |||
+ | or if you prefer CSV output with [[concepts: | ||
+ | |||
+ | <code plain;> | ||
+ | set TMSSUNQUALIFIEDVOLUME=true | ||
+ | set TMSSREPORTFORMAT=CSV | ||
+ | |||
+ | TMSS10Inventory -S tapemaster: | ||
+ | </ | ||
+ | |||
cli/list_added_at_repository.1516663444.txt.gz · Last modified: 2025/01/21 22:07 (external edit)