1-5
z If executed with the file-url argument, the command will display information about files and folders
in the specified directory. If executed without the file-url argument, the command will display
information about files and folders in the current working directory.
In the output information, files with the main, backup or main/backup attribute are tagged with special
characters:
z main: (*)
z backup: (b)
z main/backup: (*b)
In the output information of the dir /all command, deleted files (that is, those in the recycle bin) are
embraced in brackets. The displayed directory of a deleted file is the directory to which the file belongs
before it is deleted.
Example
# Display the information about all the files (including the files in the recycle bin) in the root directory of
the file system.
<Sysname> dir /all
Directory of unit1>flash:/
1 (*) -rw- 3579326 Mar 28 2007 10:51:22 switch.bin
2 (*) -rw- 1235 Apr 03 2000 16:04:52 basic.cfg
3 -rw- 140709 Apr 04 2000 21:31:08 cmdtree_b01d015.txt
4 -rw- 1235 Apr 04 2000 23:03:08 test.txt
5 drw- - Apr 04 2000 23:04:21 test
6 -rw- 1235 Apr 04 2000 23:05:41 [1.cfg]
7239 KB total (3590 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
# Display the information about all the files whose names begin with the character t (including those in
the recycle bin) in the local directory unit1>flash:/test/.
<Sysname> dir /all test/t*
Directory of unit1>flash:/test/
1 -rw- 1235 Apr 04 2000 23:08:28 test.txt
7239 KB total (3590 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute