D.52. tarantella object rename

Renames or moves an object in the organizational hierarchy.

Syntax

tarantella object rename { --name obj...
                           --newname newobj...
                         } | --file file

Description

The following table shows the available options for this command.

Option

Description

--name

Specifies the name of the object you want to rename or move.

--newname

Specifies the new name of the object.

--file

Specifies a file containing a batch of commands to rename or move objects.

Note

Make sure you quote any object names containing spaces, for example, "o=Example".

Examples

The following example renames the user profile object for Elizabeth Blue to Liz Blue.

$ tarantella object rename \
--name "o=Example/ou=Sales/cn=Elizabeth Blue" \
--newname "o=Example/ou=Sales/cn=Liz Blue"

The following example moves Ginger Butcher between the organizational units IT and Sales.

$ tarantella object rename \
--name "o=Example/ou=IT/cn=Ginger Butcher" \
--newname "o=Example/ou=Sales/cn=Ginger Butcher"