Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

SmartDepotGroup - importAndUpdateByNameUsingTemp


SmartDepotGroup - importAndUpdateByNameUsingTemp

Description :

This command imports a smart depot group, and uses that group to update the destination smart depot group. At the conclusion of the operation, this command deletes the source smart group in the database. Note that this command does not delete the directory structure and XML files used for the import. If you want to delete the directory structure and XML files from your file system, you must do this manually.

Use this command when the location of the source group (the group entry in the mapping file for the source group) is the same as the destination group's location. This command imports the source group into a temporary folder, then at the end of the import operation, this command deletes both the imported smart group and the temporary folder.

Return type : void

Command Input :

Variable Name

Variable Type

Description

srcObjectDirectory

String

Name of the directory where the group you want to import is located.

srcObjectMappingFile

String

Location of a mapping file used to resolve any conflicts that occur when importing.

srcSmartGroupName

String

Name of source smart group.

destSmartGroupPath

String

Path to the destination smart group.

Example

The following example imports a smart depot group, then uses it to update a destination smart depot group.

Script





blcli SmartDepotGroup importAndUpdateByNameUsingTemp /c/tmp/export_files/newSmartGroup /c/tmp/export_files/newSmartGroup/mapping.xml newSmartGroup /f1/oldSmartGroup



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.5