Command Reference > pmrep Command Reference > ModifyFolder
  

ModifyFolder

Modifies folder properties. You modify a folder in a non-versioned repository.
The command returns “ModifyFolder successfully completed” or returns “ModifyFolder Failed” message. The modification might fail for the following reasons:
The ModifyFolder command uses the following syntax:
modifyFolder

-n <folder_name>

[-d <folder_description>]

[-o <owner_name>]

[-a <owner_security_domain>]

[-s (shared folder)]

[-p <permissions>]

[-r <new_folder_name>]

[-f <folder_status> (active, frozendeploy, or frozennodeploy)]

[-u <os_profile>]
The following table describes the pmrepModifyFolder options and arguments:
Option
Argument
Description
-n
folder_name
Required. New folder name.
-d
folder_description
Optional. Description of the folder that displays in the Repository Manager.
-o
owner_name
Optional. Current owner of the folder. Any user in the repository can be the folder owner. Default owner is the current user.
-a
owner_security_domain
Required if you use LDAP authentication. Name of the security domain that the owner belongs to. Default is Native.
-s
shared_folder
Optional. Makes the folder shared.
-p
permissions
Optional. Access rights for the folder. If omitted, the Repository Service uses existing permissions.
-r
new_folder_name
Optional. New name of the folder.
-f
folder_status
Optional. Change the folder status to one of the following status:
  • - active. This status allows users to check out versioned objects in the folder.
  • - frozendeploy (Frozen, Allow Deploy to Replace). This status prevents users from checking out objects in the folder. Deployment into the folder creates new versions of the objects.
  • - frozennodeploy (Frozen, Do Not Allow Deploy to Replace). This status prevents users from checking out objects in the folder. You cannot deploy objects into this folder.
-u
os_profile
Optional. Assigns an operating system profile to the folder.