beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 523

background image

Operation Manual – File System Management

H3C S3100-52P Ethernet Switch

Chapter 1 File System Management

Configuration

1-5

Table 1-5

File operations

To do…

Use the command…

Remarks

Delete a file

delete

[ /unreserved ]

file

-url

delete

{ running-files |

standby-files

}

[ /unreserved ]

Optional
A deleted file can be

restored if you delete it by

executing the delete

command without

specifying the
/unreserved

keyword.

You can use the undelete

command to restore a

deleted file of this kind.

Delete a file from the

recycle bin

reset recycle-bin

[ file-url ] [ /force ]
reset recycle-bin

Optional

Rename a file

rename fileurl

-source

fileurl

-dest

Optional

Copy a file

copy fileurl

-source

fileurl

-dest

Optional

Move a file

move

fileurl

-source

fileurl

-dest

Optional

Display the content of a

file

more

file-url

Optional
Currently, the file system

only supports displaying

the contents of a file in

texts.

Display the information

about a directory or a file

dir

[ /all ] [ file-url ]

Optional

Execute the specified

batch file

execute

filename

Optional
This command should be

executed in system view.