rename
Syntax
rename oldname newname
View
SFTP client view
Default level
3: Manage level
Parameters
oldname: Specifies the name of an existing file or directory.
newname: Specifies the new name for the file or directory.
Description
Use rename to change the name of a file or directory on an SFTP server.
Examples
# Change the name of a file on the SFTP server from temp1.c to temp2.c.
sftp-client> rename temp1.c temp2.c File successfully renamed