rename
Use rename to rename a file or folder.
Syntax
rename fileurl-source fileurl-dest
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
fileurl-source: Specifies the name of the source file or folder.
fileurl-dest: Specifies the name of the destination file or folder.
Usage guidelines
If the destination file or folder name is the same as the name of an existing file or folder in the current working directory, this command is not executed.
Examples
# Rename the copy.cfg file as test.cfg.
<Sysname> rename copy.cfg test.cfg Rename flash:/copy.cfg as flash:/test.cfg?[Y/N]:y Renaming flash:/copy.cfg as flash:/test.cfg... Done.