addprop |
Adds a property to objects
Accepts --name and --type mandatory options with arguments, and an optional --value option with an argument.
Accepts multiple objects ids as its other arguments:
addprop --name description --type string .
This adds a property named 'description' and type 'string' to the current Folder, leaving this property's value empty.
addprop --name author --type string --value Shakespeare /QuickStart/*_html
This adds a property named 'author' of type 'string' and which value is 'Shakespeare' to all objects which id match *_html in the /QuickStart Folder
Caveats: No check is done to verify that the property type is valid.
|
|