Command Manual – File System Management 
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1  File System Management Configuration
 Commands
 
Huawei Technologies Proprietary 
1-8 
1.2.3  delete 
Syntax 
delete [ /unreserved ] file-url 
delete { running-files | standby-files } [ /fabric ] [ /unreserved ] 
View 
User view 
Parameter 
/unreserved: Deletes a file completely. 
file-url: Path name or file name of a file in the Flash memory. You can use the * 
character in this argument as a wildcard. For example, the delete *.txt command 
deletes all the files with txt as their extensions. 
running-files: Specifies all the files with the main attribute. 
standby-files: Specifies all the files with the backup attribute. 
fabric: Deletes all the specified files in the fabric. 
Description 
Use the delete command to delete a specified file from the Flash memory on a switch. 
You can use the * character in this argument as a wildcard. 
If you execute the delete command with the /unreserved keyword specified, the 
specified file is completely deleted. That is, the file cannot be restored. 
For a file that has both the main and backup attributes, the delete running-files 
deletes its main attribute only, and the delete standby-files command deletes its 
backup attribute only. 
Deleted files are stored in the recycle bin. 
Following are the notes on deleted files: 
z  The dir command cannot display the information about deleted files. 
z  To display the information about deleted files, use the dir /all command. 
z  To restore a deleted file, use the undelete command. 
z  To delete the files in the recycle bin, use the reset recycle-bin command. 
When you use the delete running-file or delete standby-file command, you will be 
prompted to confirm whether to delete all files with the main/backup attribute. If you 
choose yes, the corresponding files are deleted. If you choose no, the system will 
further to prompt you confirming the following items orderly: 
1)  Delete the image file with the main/backup attribute? 
2)  Delete the configuration file with the main/backup attribute? 
3)  Delete the Web file with the main/backup attribute?