Operation Manual – File System Management
H3C S3600 Series Ethernet Switches-Release 1510
Chapter 1 File System Management
Configuration
1-5
1.2.4 File Operations
The file system also provides file-related functions, such as:
z Deleting a file
z Restoring a deleted file
z Deleting a file permanently
z Managing a configuration file
z Renaming a file
z Copying a file
z Moving a file
z Displaying the content of a file
z Displaying the information about a file
z Checking file system
Perform the following configuration in user view. Note that the execute command
should be executed in system view, and the display command can be executed in any
view.
Table 1-5 File 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 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
[ /fabric ]
Optional
Upgrade the software
of the whole fabric
update fabric file-name
Optional
Use this command only after
all traffics are stopped.
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.