technote:tmss10volumedelete
This is an old revision of the document!
−Table of Contents
Technical Note: TMSS10Volume Delete Examples
Example - Delete Volumes From CSV List
CSV File
1 2 3 4 5 |
100011L4 100012L4 100023L4 100025L4 100026L4 |
TTIDEF File
Set CSV delimiter to comma, Customer-ID to US01, Media-ID to LTO and extract Barcode value from column one.
1 2 3 4 5 6 |
SetCSVDelimiter(","); SetLiteral(CUSTOMER, "US04"); SetLiteral(MEDIA, "LTO"); Extract(BARCODE, 1, 8, 0); |
Configuration File
Load Scanfile of Volume-ID's, traverse input file.
If Volume-ID is present in the Scanfile delete Volume, if not skip Volume.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
report = { format = "csv"; }; traversal = { scanfile= { file="default.ttidef"; }; customer = ( { id="*"; media = ( { id="*"; volume = ( { id="*"; scanfile = true; skip=false; }, { id="*"; skip=true; } ); } ); } ); }; |
Command Line Syntax
1 |
TMSS10VolumeDelete -S user:-password@server -c master.cfg -l -r * < volumes.csv |
technote/tmss10volumedelete.1551740592.txt.gz · Last modified: 2025/01/21 22:07 (external edit)