Operation Manual – File System Management
H3C S5500-EI Series Ethernet Switches
Chapter 1 File System Management
Configuration
1-2
1.1.2 Directory Operations
Directory operations include create, delete, display the current path, display specified
directory or file information as shown in the following table:
To do…
Use the command…
Remarks
Create a directory
mkdir
directory
Optional
Available in user view
Remove a directory
rmdir
directory
Optional
Available in user view
Display the current path
pwd
Optional
Available in user view
Display files or directories
dir
[ /
all
] [
file
-
url
]
Optional
Available in user view
Change the current path
cd
directory
Optional
Available in user view
Note:
z
The directory to be removed must be empty, meaning before you remove a directory,
you must delete all the files and the subdirectory under this directory. For file
deletion, refer to the
delete
command and for subdirectory deletion, refer to the
rmdir
command.
z
After the execution of the
rmdir
command, the files in this directory will be
automatically deleted for ever.
1.1.3 File Operations
File operations include delete (removing files into the recycle bin), restore the deleted,
permanently delete (deleting files from the recycle bin), display, rename, copy, and
move files, and display specified directory or file information as shown in the following
table:
To do…
Use the command…
Remarks
Remove a file to the
recycle bin or delete it
permanently
delete
[ /
unreserved
]
file-url
Optional
Available in user view
Restore a file from the
recycle bin
undelete
file-url
Optional
Available in user view