Dir - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - System Management
Quidway S2000 Series Ethernet Switches
View
User view
Parameter
file-url: path and name of the file you want to delete.
Description
Using delete command, you can cancel a specified file from the storage device of the
Ethernet Switch.
The deleted files are kept in the recycle bin and will not be displayed when you use the
dir command. However they will be displayed, using the dir /all command. The files
deleted by the delete command can be recovered with the undelete command or
deleted permanently from the recycle bin, using the reset recycle-bin command.
Note that, if two files with the same name in a directory are deleted, only the latest
deleted file will be kept in the recycle bin.
Example
# Delete the file flash:/test/test.txt
<Quidway> delete flash:/test/test.txt
Delete flash:/test/test.txt?[Y/N]:

1.1.4 dir

Syntax
dir [ /all ] [ file-url ]
View
User view
Parameter
/all: Display all the files (including the deleted ones).
file-url: File or directory name to be displayed. The file-url parameter supports "*"
matching. For example, using dir *.txt will display all the files with the extension txt in
the current directory.; By default, display the file information in current path.
Chapter 1 File System Management Commands
1-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents