Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This command renames a file or directory.
Syntax
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