Rename; Rmdir - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Received status: Success
File successfully Removed

rename

Syntax
rename oldname newname
View
SFTP client view
Parameters
oldname: Old file name.
newname: New file name.
Description
Use the rename command to rename a specified file on the remote SFTP server.
Examples
# Change the file name temp.bat to temp.txt.
sftp-client> rename temp.bat temp.txt
File successfully renamed

rmdir

Syntax
rmdir remote-path&<1-10>
View
SFTP client view
Parameters
remote-path&<1-10>: Name of a directory on the remote SFTP server. &<1-10> indicates that up to ten
file names can be input. These file names should be separated by spaces.
Description
Use the rmdir command to remove a specified directory from the remote SFTP server.
Examples
# Remove the directory hello on the SFTP server.
sftp-client>rmdir hello
The followed directory will be deleted
/hello
Are you sure to remove it?(Y/N):y
This operation may take a long time.Please wait...
Received status: Success
Directory successfully removed
1-27

Advertisement

Table of Contents
loading

Table of Contents