H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – File System Management
H3C S7500 Series Ethernet Switches Chapter 1
File System Management Commands
1-4
To delete the files in the recycle bin, use the reset recycle-bin command.
Caution:
z The dir command does not display the information about the files in the recycle bin.
z To display the information about the files in the recycle bin, use the dir /all
command.
z For files with the same name, the recycle bin can only hold the latest deleted one.
Examples
# Delete the file test.txt, assuming that it resides in the root directory of the flash.
<H3C> delete flash:/test.txt
Delete flash:/test.txt?[Y/N]:y
...
%Deleted file flash:/test.txt.
1.1.4 dir
Syntax
dir [ /all ] [ file-url ]
View
User view
Parameters
/all: Displays the information about all the files, including those in the recycle bin.
file-ur: Path and the name of a file whose information is to be displayed. You can use
the * character as a wildcard in this argument. For example, the dir *.txt command
displays the information about all the files with the extension of txt in the current
directory.
Description
Use the dir command to display the information about the files or directories in the
storage devices on a switch.
You can use the * character as a wildcard.
Examples
# Display the information about the file test2.bak.