blob: 2d87122f7d5a54926bad4bd9d8f6c01c21ca39f9 [file] [log] [blame]
Alistair Delvabeaee832021-02-24 11:27:23 -08001'\" t
Yi Kong39bbd962022-01-09 19:41:38 +08002.TH mdir 1 "08Jan22" mtools-4.0.37
Alistair Delvabeaee832021-02-24 11:27:23 -08003.SH Name
4mdir - display an MSDOS directory
5'\" t
6.de TQ
7.br
8.ns
9.TP \\$1
10..
11
12.tr \(is'
13.tr \(if`
14.tr \(pd"
15
16.SH Note\ of\ warning
17This manpage has been automatically generated from mtools's texinfo
18documentation, and may not be entirely accurate or complete. See the
19end of this man page for details.
20.PP
21.SH Description
22.PP
23The \fR\&\f(CWmdir\fR command is used to display an MS-DOS directory. Its
24syntax is:
25.PP
26\&\fR\&\f(CWmdir\fR [\fR\&\f(CW-/\fR] [\fR\&\f(CW-f\fR] [\fR\&\f(CW-w\fR] [\fR\&\f(CW-a\fR] [\fR\&\f(CW-b\fR] \fImsdosfile\fR [ \fImsdosfiles\fR\&...]
27.PP
28\&\fR\&\f(CWMdir\fR
29displays the contents of MS-DOS directories, or the entries for some
30MS-DOS files.
31.PP
32\&\fR\&\f(CWMdir\fR supports the following command line options:
33.TP
34\&\fR\&\f(CW/\fR\
35Recursive output, just like MS-DOS' \fR\&\f(CW-s\fR option
36.TP
37\&\fR\&\f(CWw\fR\
38Wide output. With this option, \fR\&\f(CWmdir\fR prints the filenames across
39the page without displaying the file size or creation date.
40.TP
41\&\fR\&\f(CWa\fR\
42Also list hidden files.
43.TP
44\&\fR\&\f(CWf\fR\
45Fast. Do not try to find out free space. On larger disks, finding out
46the amount of free space takes up some non trivial amount of time, as
47the whole FAT must be read in and scanned. The \fR\&\f(CW-f\fR flag bypasses
48this step. This flag is not needed on FAT32 file systems, which store
49the size explicitly.
50.TP
51\&\fR\&\f(CWb\fR\
52Concise listing. Lists each directory name or filename, one per line
53(including the filename extension). This switch displays no heading
54information and no summary. Only a newline separated list of pathnames
55is displayed.
56.PP
57An error occurs if a component of the path is not a directory.
58.PP
59.SH See\ Also
60Mtools' texinfo doc
61.SH Viewing\ the\ texi\ doc
62This manpage has been automatically generated from mtools's texinfo
63documentation. However, this process is only approximative, and some
64items, such as crossreferences, footnotes and indices are lost in this
65translation process. Indeed, these items have no appropriate
66representation in the manpage format. Moreover, not all information has
67been translated into the manpage version. Thus I strongly advise you to
68use the original texinfo doc. See the end of this manpage for
69instructions how to view the texinfo doc.
70.TP
71* \ \
72To generate a printable copy from the texinfo doc, run the following
73commands:
74
75.nf
76.ft 3
77.in +0.3i
78 ./configure; make dvi; dvips mtools.dvi
79.fi
80.in -0.3i
81.ft R
82.PP
83
84\&\fR
85.TP
86* \ \
87To generate a html copy, run:
88
89.nf
90.ft 3
91.in +0.3i
92 ./configure; make html
93.fi
94.in -0.3i
95.ft R
96.PP
97
98\&\fRA premade html can be found at
99\&\fR\&\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is\fR
100.TP
101* \ \
102To generate an info copy (browsable using emacs' info mode), run:
103
104.nf
105.ft 3
106.in +0.3i
107 ./configure; make info
108.fi
109.in -0.3i
110.ft R
111.PP
112
113\&\fR
114.PP
115The texinfo doc looks most pretty when printed or as html. Indeed, in
116the info version certain examples are difficult to read due to the
117quoting conventions used in info.
118.PP