Template - addDirectoryPart_1

Template - addDirectoryPart

Description :

This command adds a directory to an existing template with the ability to set ACL options.

The asset path should be the full path in NSH format. This command returns a handle to the updated template. Note that this handle is different from any previously returned handles. All other handles are invalid.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

templateKey

DBKey

Handle to the existing template to which you want to add a directory asset.

assetPath

String

NSH-style path to the asset.

bIncludeLightChecksum

Boolean

True to perform light checksum, false not to perform a light checksum.

bIncludeChecksum

Boolean

True to perform full checksum, false not to perform a full checksum.

bIncludeFileAcls

Boolean

True to collect file ACLs, false otherwise.

bRecurse

Boolean

True to collect files in subdirectories, false otherwise.

bCopyFiles

Boolean

True to copy the files into the BMC BladeLogic database, false otherwise.

bAuditFileSize

Boolean

True to compare file size in an audit, false otherwise.

bAuditFileCreatedDate

Boolean

True to compare file creation date in an audit, false otherwise. (Windows only)

bAuditFileModifiedDate

Boolean

True to compare file modification date in an audit, false otherwise.

bAuditFilePermissions

Boolean

True to compare file permissions in an audit, false otherwise. (UNIX only)

bAuditFileUidGid

Boolean

True to compare file UID/GID in an audit, false otherwise. (UNIX only)

bAuditACLOwner

Boolean

True to compare ACL owner in an audit. (Windows only)

bAuditDACL

Boolean

True to compare DACL in an audit. (Windows only)

bAuditSACL

Boolean

True to compare SACL in an audit. (Windows only)

Example

See the example for addFilePart .

Was this page helpful? Yes No Submitting... Thank you

Comments