This command renames a file or directory.
rename [src filesys path] [dst filesys path]
Parameters
src filesys path
Absolute file system path of the file or directory to rename.dst filesys path
Absolute file system path of the new ___location of the file or directory.Note The dst filesys path must be on the same volume as the source.
Remarks
The following code example shows how to rename a file:
rename /volume/myfile /volume/dir/myrenamedfile
See Also
Send Feedback on this topic to the authors