
Operation Manual – File System Management
H3C S5600 Series Ethernet Switches
Chapter 1 File System Management Configuration
1-3
Note:
z
Only empty directories can be deleted by using the
rmdir
command.
z
In the output information of the
dir
/
all
command, deleted files (that is, those stored
in the recycle bin) are embraced in brackets.
1.1.4 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