beautypg.com

File operations – H3C Technologies H3C S3600 Series Switches User Manual

Page 940

background image

1-3

File Operations

Follow these steps to perform file-related operations:

To do…

Use the command…

Remarks

Delete a file

delete [ /unreserved ] file-url

delete { running-files |
standby-files } [ /fabric ]
[ /unreserved ]

Optional

A deleted file can be restored
by using the undelete
command if you delete it by
executing the delete command
without specifying the
/unreserved keyword.

Available in user view

Restore a file in the recycle bin

undelete file-url

Optional

Available in user view

Delete a file from the recycle
bin

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

reset recycle-bin [ /fabric ]

Optional

Available in user view

Upgrade the software of the
whole fabric

update fabric file-name

Optional

Available in user view

Rename a file

rename fileurl-source
fileurl
-dest

Optional

Available in user view

Copy a file

copy fileurl-source fileurl-dest

Optional

Available in user view

Move a file

move fileurl-source fileurl-dest

Optional

Available in user view

Display the content of a file

more file-url

Optional

Available in user view

Currently, the file system only
supports displaying the
contents of text files.

Display the information about a
directory or a file

dir [ /all ] [ /fabric | file-url ]

Optional

Available in user view

Enter system view

system-view

Execute the specified batch file execute filename

Optional

Available in system view

This manual is related to the following products: