createAll sourceGroup

Creates all source groups described in an XML file.

See Also

create sourceGroup

Syntax

createAll sourceGroup --INPUT_FILE=xml_filename [--DUPE_METHOD=action]

or

createAll creatable_type -i xml_filename [-d action]

Parameters

xml_filename

Path to the XML document that contains the object descriptions. See sourceGroup.

action

Action to take when an object already exists:

  • error: The createAll command fails with an error. (Default)

  • ignore: The existing object description is kept.

  • overwrite: The new description replaces the existing object description.

Example

This example creates a source groups described in sourcegroups.xml. A second source group already existed.

SES>createAll sourceGroup --INPUT_FILE=sourcegroups.xml --DUPE_METHOD=ignore
 
createAll operation succeeded for type "sourceGroup".
 
  1 object(s) with status CREATE_SUCCEEDED
  1 object(s) with status DUPLICATE_IGNORED