Develop > Command-Line Interfaces > opr-sis-file-manager Command-Line Interface

opr-sis-file-manager Command-Line Interface

You can use the opr-sis-file-manager command-line interface (CLI) to import SiteScope integration files to the OMi database.

To edit the integration files, first use the ‑export option to download the integration files from the OMi database, make your changes to the files, and then re-import the files using the ‑import option.

Location

<OMi_HOME>/bin/opr-sis-file-manager.[bat|sh]

Synopsis

opr-sis-file-manager.[bat|sh] ‑import <files> | ‑export <files> | ‑help | ‑version

Options

Option Description
{‑export|‑e} <files> Exports the contents of the specified SiteScope integration files from the OMi database to the current directory.
{‑import|‑i} <files> Imports the specified SiteScope integration files to the OMi database.
‑help

Displays a summary of the command options.

‑verbose Displays the verbose output.
‑version

Displays the version information of the command.

Examples

  • Import the SiteScope integration files to the OMi database:

    opr-sis-file-manager.[bat|sh] -import ciSubTypes.xml meas2eti.xml userDefinedCiType.xml

  • Export the SiteScope integration files from the database:

    opr-sis-file-manager.[bat|sh] -export ciSubTypes.xml meas2eti.xml userDefinedCiType.xml