bfassignhiddenmigration reference

Use this utility to encrypt previously assign hidden migration values in batch mode.

Syntax

  bfassignhiddenmigration
 connection-options command-options

Restrictions and considerations

You can execute the following:

The Edit Hidden Tags permission is needed for this migration. You have the following connection options:
  • -h | --help

    Displays the help text.

  • -S | --secure C /path/to/bfclient.conf | --config=/path/to/bfclient.conf

    The text specifies the location of the client configuration file. The default is bfclient.conf in the current directory.

  • -H hostname | --hostname=hostname

    The remote host name for the connection. Default: localhost.

  • -P port | --port=port

    The communications port for the connection. Default: 3966.

  • -d domain | --domain=domain

    The domain or realm for authentication. Default: None.

  • -u login | --user=login

    The authentication user name. Default: root.

  • -p password | --password=password

    The authentication user password. Default: root.

  • -E encoding | --encoding=encoding

    The encoding to use for the output character sets. If an invalid encoding is specified, all available encodings are listed and the program exits.

    Note: The ability to display text in the requested encoding, depends on the capabilities of the terminal software used on the client. The default depends on your operating system and JVM support.
Command options:
  • -a | --all

    All of the assign hidden environment variables migrate in the system. If this option is allowed, the '-e' and '-v' options are ignored.

  • -e Environment1[,Environment2[,...]] | --environment=Environment1[,Environment2[,...]]

    The assign hidden variables migrate in specific environments. If the '-a' option is not given, all assign hidden variables migrate in the specific environments. You can use Java™ regular expressions to match your specific environments.

  • -v Variable1[,Variable2[,...]] | --variable=Variable1[,Variable2[,...]]

    Specific assign hidden environment variables migrate. If the '-a' option is not given, all specific assign hidden variables migrate in the system. You can use Java regular expressions to match your specific variables.

Example

  1. This example migrates all assign hidden environment variables in the system.
    Windows
    C:\> bfassignhiddenmigration.bat -H localhost -u root -p root -a

    UNIX and Linux

    $bfassignhiddenmigration.sh -H localhost -u root -p root -a
  2. This example migrates all assign hidden variables in the MyEnv environment.
    Windows
      $ C:\> bfassignhiddenmigration.bat -H localhost -u root -p root -e MyEnv
    UNIX and Linux
     $ bfassignhiddenmigration.sh -H localhost -u root -p root -e MyEnv
  3. This example migrates all assign hidden variables beginning with bf8.
    Windows
     $C:\> bfassignhiddenmigration.bat -H localhost -u root -p root -v bf8.*

    UNIX and Linux

           $ bfassignhiddenmigration.sh -H localhost -u root -p root -v bf8.*
  4. This example migrates all assign hidden variables containing bf8 or ending with the following hidden environments, MyEnv and Com.

    Windows

    $C:\> bfassignhiddenmigration.bat -H localhost -u root -p root -e MyEnv,Com.* -v .*bf8.*,.*hid
    UNIX and Linux
    $ bfassignhiddenmigration.sh -H localhost -u root -p root -e MyEnv,Com.* -v .*bf8.*,.*hid

Feedback