1mkmanifest(1) General Commands Manual mkmanifest(1)
2
3
4
6 mkmanifest - makes list of file names and their DOS 8+3 equivalent
7
8
9
11 This manpage has been automatically generated from mtools's texinfo
12 documentation, and may not be entirely accurate or complete. See the
13 end of this man page for details.
14
16 The mkmanifest command is used to create a shell script (packing list)
17 to restore Unix filenames. Its syntax is:
18
19 mkmanifest [ files ]
20
21 Mkmanifest creates a shell script that aids in the restoration of Unix
22 filenames that got clobbered by the MS-DOS filename restrictions. MS-
23 DOS filenames are restricted to 8 character names, 3 character exten‐
24 sions, upper case only, no device names, and no illegal characters.
25
26 The mkmanifest program is compatible with the methods used in pcomm,
27 arc, and mtools to change perfectly good Unix filenames to fit the MS-
28 DOS restrictions. This command is only useful if the target system
29 which will read the diskette cannot handle VFAT long names.
30
32 You want to copy the following Unix files to a MS-DOS diskette (using
33 the mcopy command).
34
35 very_long_name
36 2.many.dots
37 illegal:
38 good.c
39 prn.dev
40 Capital
41
42
43
44 ASCII converts the names to:
45
46 very_lon
47 2xmany.dot
48 illegalx
49 good.c
50 xprn.dev
51 capital
52
53
54
55 The command:
56
57 mkmanifest very_long_name 2.many.dots illegal: good.c prn.dev Capital >manifest
58
59 would produce the following:
60
61 mv very_lon very_long_name
62 mv 2xmany.dot 2.many.dots
63 mv illegalx illegal:
64 mv xprn.dev prn.dev
65 mv capital Capital
66
67
68
69 Notice that "good.c" did not require any conversion, so it did not
70 appear in the output.
71
72 Suppose I've copied these files from the diskette to another Unix sys‐
73 tem, and I now want the files back to their original names. If the
74 file "manifest" (the output captured above) was sent along with those
75 files, it could be used to convert the filenames.
76
78 The short names generated by mkmanifest follow the old convention (from
79 mtools-2.0.7) and not the one from Windows 95 and mtools-3.0.
80
82 Mtools' texinfo doc
83
85 This manpage has been automatically generated from mtools's texinfo
86 documentation. However, this process is only approximative, and some
87 items, such as crossreferences, footnotes and indices are lost in this
88 translation process. Indeed, these items have no appropriate represen‐
89 tation in the manpage format. Moreover, not all information has been
90 translated into the manpage version. Thus I strongly advise you to use
91 the original texinfo doc. See the end of this manpage for instructions
92 how to view the texinfo doc.
93
94 * To generate a printable copy from the texinfo doc, run the fol‐
95 lowing commands:
96
97 ./configure; make dvi; dvips mtools.dvi
98
99
100
101 * To generate a html copy, run:
102
103 ./configure; make html
104
105 A premade html can be found at `http://www.gnu.org/software/mtools/man‐
106 ual/mtools.html'
107
108 * To generate an info copy (browsable using emacs' info mode),
109 run:
110
111 ./configure; make info
112
113
114
115 The texinfo doc looks most pretty when printed or as html. Indeed, in
116 the info version certain examples are difficult to read due to the
117 quoting conventions used in info.
118
119mtools-4.0.13 28Feb10 mkmanifest(1)