version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
mdir |
|
|
2 |
!!!mdir |
|
|
3 |
Name |
|
|
4 |
Note of warning |
|
|
5 |
Description |
|
|
6 |
See Also |
|
|
7 |
Viewing the texi doc |
|
|
8 |
---- |
|
|
9 |
!!Name |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
mdir - display an MSDOS directory |
|
|
13 |
!!Note of warning |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
This manpage has been automatically generated from mtools's |
|
|
17 |
texinfo documentation, and may not be entirely accurate or |
|
|
18 |
complete. See the end of this man page for |
|
|
19 |
details. |
|
|
20 |
!!Description |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The mdir command is used to display an MS-DOS |
|
|
24 |
directory. Its syntax is: |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
mdir [[-/] [[-f] [[-w] |
|
|
28 |
[[-a] [[-b] ''msdosfile'' [[ |
|
|
29 |
''msdosfiles''...] |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
Mdir displays the contents of MS-DOS directories, |
|
|
33 |
or the entries for some MS-DOS files. |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
Mdir supports the following command line |
|
|
37 |
options: |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
/ |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
Recursive output, just like Dos' -s |
|
|
44 |
option |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
w |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
Wide output. With this option, mdir prints the |
|
|
51 |
filenames across the page without displaying the file size |
|
|
52 |
or creation date. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
a |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
Also list hidden files. |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
f |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Fast. Do not try to find out free space. On larger disks, |
|
|
65 |
finding out the amount of free space takes up some non |
|
|
66 |
trivial amount of time, as the whole FAT must be read in and |
|
|
67 |
scanned. The -f flag bypasses this step. This flag |
|
|
68 |
is not needed on FAT32 filesystems, which store the size |
|
|
69 |
explicitely. |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
b |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Concise listing. Lists each directory name or filename, one |
|
|
76 |
per line (including the filename extension). This switch |
|
|
77 |
displays no heading information and no summary. Only a |
|
|
78 |
newline separated list of pathnames is |
|
|
79 |
displayed. |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
An error occurs if a component of the path is not a |
|
|
83 |
directory. |
|
|
84 |
!!See Also |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
Mtools' texinfo doc |
|
|
88 |
!!Viewing the texi doc |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
This manpage has been automatically generated from mtools's |
|
|
92 |
texinfo documentation. However, this process is only |
|
|
93 |
approximative, and some items, such as crossreferences, |
|
|
94 |
footnotes and indices are lost in this translation process. |
|
|
95 |
Indeed, these items have no appropriate representation in |
|
|
96 |
the manpage format. Moreover, not all information has been |
|
|
97 |
translated into the manpage version. Thus I strongly advise |
|
|
98 |
you to use the original texinfo doc. See the end of this |
|
|
99 |
manpage for instructions how to view the texinfo |
|
|
100 |
doc. |
|
|
101 |
|
|
|
102 |
|
|
|
103 |
* |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
To generate a printable copy from the texinfo doc, run the |
|
|
107 |
following commands: |
|
|
108 |
|
|
|
109 |
|
|
|
110 |
__ ./configure; make dvi; dvips mtools.dvi |
|
|
111 |
__ |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
* |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
To generate a html copy, run: |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
__ ./configure; make html |
|
|
121 |
__A premade html can be found at: `http://mtools.linux.lu' and also at: `http://www.tux.org/pub/knaff/mtools' |
|
|
122 |
|
|
|
123 |
|
|
|
124 |
* |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
To generate an info copy (browsable using emacs' info mode), |
|
|
128 |
run: |
|
|
129 |
|
|
|
130 |
|
|
|
131 |
__ ./configure; make info |
|
|
132 |
__ |
|
|
133 |
|
|
|
134 |
|
|
|
135 |
The texinfo doc looks most pretty when printed or as html. |
|
|
136 |
Indeed, in the info version certain examples are difficult |
|
|
137 |
to read due to the quoting conventions used in |
|
|
138 |
info. |
|
|
139 |
---- |