DepotFile - getLocationByGroupAndName
DepotFile - getLocationByGroupAndName
Description :
This command returns the location of a depot file on the BMC BladeLogic file server. The location has the following format:
//file_server_name/storage_path//depotfiles/checksum_of_the_depot_file
Example:
//myServer/bladelogic/storage//depotfiles/bb16f8c10ede2d1488e518d33a54da5
Note that when you add a file to the depot, the system automatically creates the depotfiles directory, and stores a copy of your file there. The depotfiles directory is located directly under the file server storage location that you specified when you configured the Application Server.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
group | String | Fully qualified path to a depot group. |
name | String | Name of the file as it appears in the BMC BladeLogic GUI. |
Example
The following example gets the location of a depot file.
Script
DEPOT_GROUP=/myGroup
DEPOT_NAME="My configuration file"
DepotFile getLocationByGroupAndName $DEPOT_GROUP $DEPOT_NAME
Comments
Log in or register to comment.