technote:tmss10volumedelete
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technote:tmss10volumedelete [2019/03/04 23:09] – [Command Line Syntax] Scott Cunliffe | technote:tmss10volumedelete [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | Files needed to delete [[object:volume|Volumes]] from a defined list from nominated [[object: | ||
+ | |||
+ | ===== Examples | ||
+ | |||
+ | ==== Delete Volumes From CSV List ==== | ||
+ | |||
+ | Delete [[object: | ||
+ | Files Required: | ||
+ | * CSV file of required [[object: | ||
+ | * Configuration file | ||
+ | * TTIDEF definition file | ||
- | ===== Example - Delete Volumes From CSV List ===== | ||
==== CSV File ==== | ==== CSV File ==== | ||
- | <sxh> | + | CSV File **volumes.csv** |
+ | |||
+ | <code> | ||
100011L4 | 100011L4 | ||
100012L4 | 100012L4 | ||
Line 11: | Line 24: | ||
100025L4 | 100025L4 | ||
100026L4 | 100026L4 | ||
- | </sxh> | + | </code> |
==== TTIDEF File ==== | ==== TTIDEF File ==== | ||
- | Set CSV delimiter to comma, Customer-ID to US01, Media-ID to LTO and extract Barcode value from column one. | + | TTIDEF File **default.ttidef** |
- | <sxh> | + | Set CSV delimiter to comma, [[object: |
+ | |||
+ | <code> | ||
SetCSVDelimiter("," | SetCSVDelimiter("," | ||
Line 25: | Line 40: | ||
Extract(BARCODE, | Extract(BARCODE, | ||
- | </sxh> | + | </code> |
==== Configuration File ==== | ==== Configuration File ==== | ||
- | Load Scanfile of Volume-ID' | + | Load Scanfile of [[object: |
- | If Volume-ID is present in the Scanfile delete Volume, if not skip Volume. | + | If [[object: |
- | <sxh> | + | Configuration File **master.cfg** |
+ | |||
+ | <code> | ||
report = | report = | ||
{ | { | ||
Line 66: | Line 83: | ||
); | ); | ||
}; | }; | ||
- | </sxh> | + | </code> |
==== Command Line Syntax ==== | ==== Command Line Syntax ==== | ||
- | Delete all volumes | + | Delete all [[object: |
- | <sxh> | + | <code> |
TMSS10VolumeDelete -S user: | TMSS10VolumeDelete -S user: | ||
- | </sxh> | + | </code> |
+ | {{tag> |
technote/tmss10volumedelete.1551740990.txt.gz · Last modified: 2025/01/21 22:07 (external edit)