Command Manual – SSH
H3C S7500E Series Ethernet Switches Chapter 1 SSH Configuration Commands
1-38
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
1.2.16 rmdir
Syntax
rmdir remote-path&<1-10>
View
SFTP client view
Parameters
remote-path&<1-10>: Name of the directory on the remote SFTP server. &<1-10>
means that you can provide up to 10 filenames that are separated by space.
Description
Use the rmdir command to delete a specified directory from an SFTP server.
Examples
# On the SFTP server, delete directory temp1 in the current directory.
sftp-client> rmdir temp1
Directory successfully removed