R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
49
<Sysname> dir /all
Directory of flash0:/
0 -rwh 896 Feb 17 2011 14:20:02 private-data.txt
1 -rw- 25535 Feb 17 2011 14:20:02 system.xml
2 -rw- 1780 Feb 17 2011 14:20:04 startup.cfg
3 -rw- 14617560 Feb 15 2011 15:23:29 main.bin
4 drw- - Jan 06 2011 14:46:09 domain1
5 -rw- 891 Jan 06 2011 14:46:18 default_ca.cer
6 -rw- 1411 Jan 06 2011 14:46:18 default_local.cer
7 -rwh 716 Jan 06 2011 14:46:18 hostkey
8 drw- - Jan 06 2011 14:46:07 seclog
9 -rw- 25135 Jan 13 2011 15:50:51 [system.xml]
1048192 KB total (1018016 KB free)
// The output shows that file flash0:/startup.cfg is deleted permanently.
# Delete file aa.cfg in the subdirectory test and in the recycle bin.
4. Enter the subdirectory
<Sysname> cd test/
5. Check all the files in the subfolder test.
<Sysname> dir /all
Directory of flash0:/test
0 -rw- 2161 Apr 26 2000 21:22:35 [aa.cfg]
1048192 KB total (1018016 KB free)
// The output shows that only one file exists in the folder, and the file has been moved to the recycle bin.
6. Permanently delete file test/aa.cfg.
<Sysname> reset recycle-bin
Clear flash0:/test/~/aa.cfg ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
..
%Cleared file flash0:/test/~/aa.cfg...
rmdir
Syntax
rmdir directory
View
User view
Default level
3: Manage level
Parameters
directory: Name of the folder.