technote:rename_volumes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technote:rename_volumes [2021/08/05 01:31] – [Batch File] Scott Cunliffe | technote:rename_volumes [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Renaming | + | ====== Renaming Volume-ID' |
Renaming a batch of Volumes can be completed in one process using a configuration file, definition file, Volume List and [[cli: | Renaming a batch of Volumes can be completed in one process using a configuration file, definition file, Volume List and [[cli: | ||
Line 39: | Line 39: | ||
# Set Customer and Media values | # Set Customer and Media values | ||
- | SetLiteral(CUSTOMER, | + | SetLiteral(CUSTOMER, |
SetLiteral(MEDIA, | SetLiteral(MEDIA, | ||
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) | ||
< | < | ||
Line 96: | Line 102: | ||
TMSS10VolumeRename -S user: | TMSS10VolumeRename -S user: | ||
</ | </ | ||
+ | |||
+ | Adding the '' | ||
+ | |||
+ | < | ||
+ | TMSS10VolumeRename -S user: | ||
+ | </ | ||
+ | |||
+ | === Standard Output === | ||
+ | |||
+ | Test Mode - rename_out.txt | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | | ||
+ | | ||
+ | Production Time: Thursday, August 05, 2021 - 10:48:36 (AUS Eastern Standard Time) | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | 1 1 100001 | ||
+ | 2 2 100002 | ||
+ | 3 3 100003 | ||
+ | 4 4 100004 | ||
+ | 5 5 100005 | ||
+ | 6 6 100006 | ||
+ | 7 7 100007 | ||
+ | 8 8 100008 | ||
+ | 9 9 100009 | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | Production Time: Thursday, August 05, 2021 - 10:48:36 (AUS Eastern Standard Time) | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | 1 US04.LTO.100001 | ||
+ | 2 US04.LTO.100002 | ||
+ | 3 US04.LTO.100003 | ||
+ | 4 US04.LTO.100004 | ||
+ | 5 US04.LTO.100005 | ||
+ | 6 US04.LTO.100006 | ||
+ | 7 US04.LTO.100007 | ||
+ | 8 US04.LTO.100008 | ||
+ | 9 US04.LTO.100007 | ||
+ | 10 US04.LTO.100008 | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | Live Mode - rename_out.txt | ||
+ | |||
+ | < | ||
+ | |||
+ | | ||
+ | | ||
+ | Production Time: Thursday, August 05, 2021 - 10:48:36 (AUS Eastern Standard Time) | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | 1 1 100001 | ||
+ | 2 2 100002 | ||
+ | 3 3 100003 | ||
+ | 4 4 100004 | ||
+ | 5 5 100005 | ||
+ | 6 6 100006 | ||
+ | 7 7 100007 | ||
+ | 8 8 100008 | ||
+ | 9 9 100009 | ||
+ | | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | Production Time: Thursday, August 05, 2021 - 10:48:36 (AUS Eastern Standard Time) | ||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | 1 US04.LTO.100001 | ||
+ | 2 US04.LTO.100002 | ||
+ | 3 US04.LTO.100003 | ||
+ | 4 US04.LTO.100004 | ||
+ | 5 US04.LTO.100005 | ||
+ | 6 US04.LTO.100006 | ||
+ | 7 US04.LTO.100007 | ||
+ | 8 US04.LTO.100008 | ||
+ | 9 US04.LTO.100007 | ||
+ | 10 US04.LTO.100008 | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{tag> technote cli rename config}} |
technote/rename_volumes.1628127070.txt.gz · Last modified: 2025/01/21 22:07 (external edit)