Export/import utility command reference

The export/import utility supports the following commands and options.

Syntax

The utility is a script. It has the .bat extension on Windows and the .sh extension on UNIX type systems. Examples are shown for Windows.

librarymanager.bat export -f exportFileName.xml

Export all workspaces in the source environment. The exported XML file is placed in the directory where the librarymanager.batfile is located.

Use the -w option to export only specified workspaces in the source environment, as follows.

librarymanager.bat export -f exportFileName.xml -w workspace_name1,"workspace name 2"

If there are spaces in the workspace name, enclose the workspace name in quotes. For example, “workspace name n"

There should be no spaces before or after the comma separating two workspace names.

librarymanager.bat import -f exportFileName.xml

Import workspaces to the target environment.