Command Manual – SSH
H3C S7500E Series Ethernet Switches
Chapter 1 SSH Configuration Commands
1-37
1.2.14 remove
Syntax
remove
remote-file
&<1-10>
View
SFTP client view
Parameters
remote-file
&<1-10>: Name of a file on an SFTP server. &<1-10> means that you can
provide up to 10 filenames, which are separated by space.
Description
Use the
remove
command to delete a specified file from a remote server.
This command functions as the
delete
command.
Examples
# Delete file temp.c from the server.
sftp-client> remove temp.c
The following files will be deleted:
/temp.c
Are you sure to delete it? [Y/N]:y
This operation may take a long time.Please wait...
File successfully Removed
1.2.15 rename
Syntax
rename
oldname
newname
View
SFTP client view
Parameters
oldname
: Original file name or directory name.
newname
: New file name or directory name.
Description
Use the
rename
command to change the name of a specified file or directory on an
SFTP server.