Both sides previous revisionPrevious revisionNext revision | Previous revision |
cli:tmss10modifyflags [2020/01/09 00:27] – [Example] Scott Cunliffe | cli:tmss10modifyflags [2025/01/21 22:07] (current) – external edit 127.0.0.1 |
---|
* ''-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. | * ''-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. |
*''-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. | *''-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. |
| |
| {{page>cli:fi}} |
| |
==== Technical Support ==== | ==== Technical Support ==== |
=== Command line syntax === | === Command line syntax === |
| |
<sxh plain;> | |
TMSS10ModifyFlags -S user:-password@server -V "*US04.LTO.*@OFFS" -F E | TMSS10ModifyFlags -S user:-password@server -V "*US04.LTO.*@OFFS" -F "E" |
</sxh> | |
| |
| |
=== Output === | === Output === |
| |
<sxh plain;> | |
| |
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 | System: TapeTrack |
------ -------------------- -------------------------------- -------------------------------- -------------- | Report Description: Flag Modification Report |
1 US04.LTO.000005L6 CnNOtZ CEnNOtZ Request OK | Production Time: Friday, April 20, 2018 - 09:43:19 (AUS Eastern Standard Time) |
2 US04.LTO.000006L5 CnNOt CEnNOt Request OK | Report Width: 156 bytes |
3 US04.LTO.000006L6 CnNOt CEnNOt Request OK | |
4 US04.LTO.000007L5 CnNOt CEnNOt Request OK | Seq. Barcode Old Flags New Flags Message |
5 US04.LTO.000007L6 CMnNt CEMnNt Request OK | ------ -------------------- -------------------------------- -------------------------------- -------------- |
6 US04.LTO.000008L5 CMnNt CEMnNt Request OK | 1 US04.LTO.000005L6 CnNOtZ CEnNOtZ Request OK |
7 US04.LTO.000009L5 CnNOt CEnNOt Request OK | 2 US04.LTO.000006L5 CnNOt CEnNOt Request OK |
8 US04.LTO.000009L6 CnNOt CEnNOt Request OK | 3 US04.LTO.000006L6 CnNOt CEnNOt Request OK |
------ -------------------- -------------------------------- -------------------------------- -------------- | 4 US04.LTO.000007L5 CnNOt CEnNOt Request OK |
</sxh> | 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 ===== | ===== Example ===== |
| |
<note tip>Use [[common:volume_flags|Flag]] values to add to [[object:volume|Volumes]]. \\ | <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]]</note> | 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: | To set the ''E'' (Encrypted) [[common:volume_flags|Flag]] on all LTO tapes: |
<sxh plain;> | |
TMSS10ModifyFlags -S tapemaster:-password@localhost -F "E" -V "*.LTO.*" | |
</sxh> | |
| |
Removing the W (Warning) [[common:volume_flags|Flag]] from all [[object:volume|Volumes]] | TMSS10ModifyFlags -S tapemaster:-password@localhost -F "E" -V "*.LTO.*" |
<sxh plain;> | |
TMSS10ModifyFlags -S tapemaster:-password@localhost -F "!W" | |
</sxh> | |
| |
===== Changelog ===== | |
| |
[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10ModifyFlags] | Removing the W (Warning) [[common:volume_flags|Flag]] from all [[object:volume|Volumes]] in Customer-ID 1001. |
| |
| TMSS10ModifyFlags -S tapemaster:-password@localhost -F "!W" -V "1001.*.*" |
| |
| |
| --> Changelog |
| |
| |
| [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10ModifyFlags] |
| <-- |
<- ^ cli:introduction|Command Line Utilities^ -> | <- ^ cli:introduction|Command Line Utilities^ -> |