TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:rename_volumes

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:rename_volumes [2021/08/05 01:45] – [Batch File] Scott Cunliffetechnote:rename_volumes [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Renaming A Batch Of Volume-ID's ======+====== Renaming Volume-ID'Using A Batch File  ======
  
 Renaming a batch of Volumes can be completed in one process using a configuration file, definition file, Volume List and [[cli:tmss10volumerename|TMSS10VolumeRename]]. Renaming a batch of Volumes can be completed in one process using a configuration file, definition file, Volume List and [[cli:tmss10volumerename|TMSS10VolumeRename]].
Line 39: Line 39:
  
 # Set Customer and Media values # Set Customer and Media values
-SetLiteral(CUSTOMER, US44);+SetLiteral(CUSTOMER, US04);
 SetLiteral(MEDIA, LTO); SetLiteral(MEDIA, LTO);
  
Line 49: Line 49:
  
 rename.cfg rename.cfg
 +
 +Compare all Volumes to Scan file.
 +
 +If present in the Scan file (scanfile=true) then process that Volume (skip=false)
 +
 +If not present in the Scan file discard Volume (skip=true)
  
 <code> <code>
Line 194: Line 200:
  
 </code> </code>
 +
 +{{tag> technote cli rename config}}
technote/rename_volumes.1628127901.txt.gz · Last modified: 2025/01/21 22:07 (external edit)