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.

DepotFile - copyFileContentsToPath


DepotFile - copyFileContentsToPath

Description :

Find a depot file given the name and the full path to the parent group and copy the file contents to a specified fully qualified NSH path.

Return type : void

Command Input :

Variable Name

Variable Type

Description

parentGroupName

String

Group where depot file is located

DepotFileName

String

Name of depot file

toPath

String

Full path to where the contents are to be copied

Example

The following example copies the file content of a depot file.

Script

DEPOT_GROUP=/myGroup

DEPOT_NAME="My configuration file"

DEPOT_PATH="//testmachine/c/test.txt"

DepotFile copyFileContentsToPath $DEPOT_GROUP $DEPOT_NAME $DEPOT_PATH

 

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

BMC Server Automation Command Line Interface 8.5