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.
ZBT001N-10:13:47 TMSS10ModifyFlags (c) GazillaByte 1998-2016 ZBT002N-10:13:47 Compiled Apr 6 2016 at 10:08:49 ZBT010I-10:13:47 this program allows you to set or unset volume flags ZBT006N-10:13:47 Running Under Windows 10 (build 10586 10.00) on platform x64 ZBT000N-10:13:47 Host is Little Endian ZBT000N-10:13:47 Host is ASCII ZBT000N-10:13:47 Binary is 64 bit ZBT000N-10:13:47 Current Working Directory is R:\bin\Win64 ZBT004N-10:13:47 Today is Wednesday, April 06, 2016 ZBT005N-10:13:47 Running on Gerard-Surface ZBT006N-10:13:47 Process ID 13488 ZBT000N-10:13:47 Parsing and validating command arguments ZBT000E-10:13:47 Value for argument -F is blank and a value is required ZBT002N-10:13:47 Program Options: ZBT002E-10:13:47 (F) New Flags= ZBT002N-10:13:47 (S) Server=batch@127.0.0.1:5000 ZBT002N-10:13:47 (V) Volume Filter=*.*.* ZBT002N-10:13:47 (c) Configuration File= ZBT000E-10:13:47 Arguments parsed and validated with 1 errors
You will need the -F argument to tell it what flags to add/remove and the -S argument to point to your server.
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.*"