This is an old revision of the document!
Table of Contents
TMSS10ModifyFlags
Synopsis
TMSS10ModifyFlags [-F new flags] [-S logon string] [-V volume filter] [-c configuration file]
Description
TMSS10ModifyFlags adds and removes editable flags through the command line interface.
Options
-F
Adds or removes flags from volumes.-S
The logon string argument sets the Server logon information-V
Volume Filter which can be used to filter the traversal of Customer, Media, Volume, repository and flag values.-c
The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of Customer, Media and Volumes, perform advanced barcode pre and post processing and route program output to syslogd.
Technical Support
The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.
Exit Statuses
- zero Program has ended successfully.
- non-zero Program has not ended successfully.
Files
stdout: Output Reports.
stderr: Diagnostic messages.
Example
Command line syntax
TMSS10ModifyFlags -S user:-password@server -V "*US04.LTO.*@OFFS" -F E
Output
System: TapeTrack Report Description: Flag Modification Report Production Time: Friday, April 20, 2018 - 09:43:19 (AUS Eastern Standard Time) Report Width: 156 bytes Seq. Barcode Old Flags New Flags Message ------ -------------------- -------------------------------- -------------------------------- -------------- 1 US04.LTO.000005L6 CnNOtZ CEnNOtZ Request OK 2 US04.LTO.000006L5 CnNOt CEnNOt Request OK 3 US04.LTO.000006L6 CnNOt CEnNOt Request OK 4 US04.LTO.000007L5 CnNOt CEnNOt Request OK 5 US04.LTO.000007L6 CMnNt CEMnNt Request OK 6 US04.LTO.000008L5 CMnNt CEMnNt Request OK 7 US04.LTO.000009L5 CnNOt CEnNOt Request OK 8 US04.LTO.000009L6 CnNOt CEnNOt Request OK ------ -------------------- -------------------------------- -------------------------------- --------------
Example
To remove the Warning flag (W) you would use:
TMSS10ModifyFlags -S tapemaster:-password@localhost -F "!W"
Substitute your password for the password value.
A ! means remove the flag. Without an ! it will be added.
To set the encrypted flag on all LTO tapes:
TMSS10ModifyFlags -S tapemaster:-password@localhost -F "E" -V "*.LTO.*"