TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10modifyflags

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
cli:tmss10modifyflags [2017/10/06 20:55] – [Example] dcummingcli:tmss10modifyflags [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== TMSS10ModifyFlags ====== ====== TMSS10ModifyFlags ======
 + 
 +TMSS10ModifyFlags adds and removes editable [[:common:volume_flags|Flags]] through the Command Line interface.
  
 +===== Synopsis =====
  
-The program for changing flags in batch is TMSS10ModifyFlags.+''TMSS10ModifyFlags [-F new flags] [-S logon string] [-V volume filter] [-c configuration file]''
  
-<code> +===== Options ===== 
-ZBT001N-10:13:47 TMSS10ModifyFlags (c) GazillaByte 1998-2016 + 
-ZBT002N-10:13:47 Compiled Apr  6 2016 at 10:08:49 +  * ''-F'' Adds or removes [[common:volume_flags|Flags]] from [[object:volume|Volumes]]
-ZBT010I-10:13:47 this program allows you to set or unset volume flags +  * ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]] 
-ZBT006N-10:13:47 Running Under Windows 10 (build 10586 10.00) on platform x64 +  * ''-V''  [[cli:volume_filter|Volume Filter]] which can be used to filter the traversal of [[object:customer|Customer]], [[object:media|Media]], [[object:volume|Volume]], [[object:repository|Repository]] and [[common:volume_flags|Flag]] values. 
-ZBT000N-10:13:47 Host is Little Endian +  *''-c'' The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of [[object:customer|Customer]][[object:media|Media]] and [[object:volume|Volumes]], perform advanced Barcode pre and post processing and route program output to syslogd. 
-ZBT000N-10:13:47 Host is ASCII + 
-ZBT000N-10:13:47 Binary is 64 bit +{{page>cli:fi}} 
-ZBT000N-10:13:47 Current Working Directory is R:\bin\Win64 + 
-ZBT004N-10:13:47 Today is WednesdayApril 06, 2016 +==== Technical Support ==== 
-ZBT005N-10:13:47 Running on Gerard-Surface + 
-ZBT006N-10:13:47 Process ID 13488 +The TapeTrack Software is commercially supported by full time help desk staff.  
-ZBT000N-10:13:47 Parsing and validating command arguments + 
-ZBT000E-10:13:47 Value for argument -F is blank and value is required +If you are experiencing problems or want some advice on how to configure or use the product please see the [[common:support_details|Accessing Technical Support]] page. 
-ZBT002N-10:13:47 Program Options: + 
-ZBT002E-10:13:47        (F) New Flags+==== Exit Statuses ===
-ZBT002N-10:13:47        (S) Server=batch@127.0.0.1:5000 + 
-ZBT002N-10:13:47        (V) Volume Filter=*.*.+  **zero** Program has ended successfully
-ZBT002N-10:13:47        (c) Configuration File+  - **non-zero** Program has not ended successfully. 
-ZBT000E-10:13:47 Arguments parsed and validated with 1 errors + 
-</code> +==== Files ===
-You will need the -F argument to tell it what flags to add/remove and the -S argument to point to your server.+ 
 +**stdout:** Output Reports. \\ 
 +**stderr:** Diagnostic messages\\
  
 ===== Example ===== ===== Example =====
  
-To remove the Warning flag (W) you would use+=== Command line syntax === 
-<code> + 
-TMSS10ModifyFlags -S tapemaster:-password@localhost -F "!W" + 
-</code>+  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 ===== 
 + 
 +<note tip>Use [[common:volume_flags|Flag]] values to add to [[object:volume|Volumes]] (eg. E)  \\ 
 +Prefix [[common:volume_flags|Flag]] values with **!** to remove from [[object:volume|Volumes]] (eg. !E)</note> 
 + 
 +To set the ''E'' (Encrypted) [[common:volume_flags|Flag]] on all LTO tapes: 
 + 
 +  TMSS10ModifyFlags -S tapemaster:-password@localhost -F "E" -V "*.LTO.*" 
 + 
 + 
 +Removing the (Warning[[common:volume_flags|Flag]] from all [[object:volume|Volumes]] in Customer-ID 1001. 
 + 
 +  TMSS10ModifyFlags -S tapemaster:-password@localhost -F "!W" -V "1001.*.*"
  
-Substitute your password for the password value. 
  
-A **!** means remove the flag. Without an **!** it will be added.+--> Changelog
  
-To set the encrypted flag on all LTO tapes: 
  
-<code> +[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10ModifyFlags] 
-TMSS10ModifyFlags -S tapemaster:-password@localhost -F "E" -V "*.LTO.*" +<-- 
-</code>+<- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10modifyflags.1507323344.txt.gz · Last modified: 2025/01/21 22:07 (external edit)