The RENAME command will change the name of a directory.
Windows/OpenVMS Format:
rename/directory old_directory_name new_directory_name [/qualifiers]
UNIX/Linux Format:
mvdir old_directory_name new_directory_name [-qualifiers]
/[no]log or -[no]log
/[no]confirm or -[no]confirm
/node or -node = target_node
Windows:
Schedule> rename/directory \cbrown\ \kanderson\ /confirm
Rename \cbrown\ to \kanderson\ [y/n] (y): yes
OpenVMS
Schedule> rename/directory [cbrown] [kanderson] /confirm
Rename [cbrown] to [kanderson] [y/n] (y): yes
UNIX/Linux:
Schedule> mvdir /cbrown/ /kanderson/ -confirm
Rename /cbrown/ to /kanderson/ [y/n] (y): yes
/[no]confirm or -[no]confirm
CONFIRM requests that the user be prompted prior to any operation to verify that the selected entry is the correct one.
/hostname or -node =hostname
The qualifier specifies what node (either local or remote) you want the operation performed on.
/[no]log or -[no]log
The LOG qualifier causes each completed operation to issue a note to the user.