TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:tmss10volumedelete

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:tmss10volumedelete [2020/10/26 03:12] – [Command Line Syntax] Scott Cunliffetechnote:tmss10volumedelete [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 18: Line 18:
 CSV File **volumes.csv** CSV File **volumes.csv**
  
-<sxh>+<code>
 100011L4 100011L4
 100012L4 100012L4
Line 24: Line 24:
 100025L4 100025L4
 100026L4 100026L4
-</sxh>+</code>
  
 ==== TTIDEF File ==== ==== TTIDEF File ====
Line 32: Line 32:
 Set CSV delimiter to comma, [[object:customer|Customer-ID]] to US01, [[object:media|Media-ID]] to LTO and extract Barcode value from column one. Set CSV delimiter to comma, [[object:customer|Customer-ID]] to US01, [[object:media|Media-ID]] to LTO and extract Barcode value from column one.
  
-<sxh>+<code>
 SetCSVDelimiter(","); SetCSVDelimiter(",");
  
Line 40: Line 40:
 Extract(BARCODE, 1, 8, 0); Extract(BARCODE, 1, 8, 0);
  
-</sxh>+</code>
  
  
Line 50: Line 50:
 Configuration File **master.cfg** Configuration File **master.cfg**
  
-<sxh>+<code>
 report =  report = 
 { {
Line 83: Line 83:
    );    );
 }; };
-</sxh>+</code>
  
 ==== Command Line Syntax ==== ==== Command Line Syntax ====
Line 89: Line 89:
 Delete all [[object:volume|Volumes]] in volumes.csv from [[object:customer|Customer-ID]] US01 and [[object:media|Media-ID]] LTO Delete all [[object:volume|Volumes]] in volumes.csv from [[object:customer|Customer-ID]] US01 and [[object:media|Media-ID]] LTO
  
-<sxh>+<code>
 TMSS10VolumeDelete -S user:-password@server -c master.cfg -l -r *  < volumes.csv  TMSS10VolumeDelete -S user:-password@server -c master.cfg -l -r *  < volumes.csv 
-</sxh>+</code>
  
 {{tag>technote cli}} {{tag>technote cli}}
technote/tmss10volumedelete.1603681963.txt.gz · Last modified: 2025/01/21 22:07 (external edit)