H3C s3100 series Command Manual page 819

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

If executed with the /all keyword, the command will display information about all files, including the
files in the recycle bin. If executed without the /all keyword, the command will not display the files in
the recycle bin.
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:
main: (*)
backup: (b)
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-
2 (*)
-rw-
3
-rw-
4
-rw-
5
drw-
6
-rw-
7239 KB total (3590 KB free)
(*) -with main 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-
7239 KB total (3590 KB free)
3579326
Mar 28 2007 10:51:22
1235
Apr 03 2000 16:04:52
140709
Apr 04 2000 21:31:08
1235
Apr 04 2000 23:03:08
-
Apr 04 2000 23:04:21
1235
Apr 04 2000 23:05:41
(b) -with backup attribute
1235
Apr 04 2000 23:08:28
switch.bin
basic.cfg
cmdtree_b01d015.txt
test.txt
test
[1.cfg]
test.txt
1-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents