1MKMANIFEST(1) General Commands Manual MKMANIFEST(1)
2
3
4
6 mkmanifest - create a shell script to restore Unix filenames
7
9 mkmanifest [ files ]
10
12 Mkmanifest creates a shell script that will aid in the restoration of
13 Unix filenames that got clobbered by the MSDOS filename restrictions.
14 MSDOS filenames are restricted to 8 character names, 3 character exten‐
15 sions, upper case only, no device names, and no illegal characters.
16
17 The mkmanifest program is compatible with the methods used in pcomm,
18 arc, and mtools to change perfectly good Unix filenames to fit the
19 MSDOS restrictions.
20
22 I want to copy the following Unix files to a MSDOS diskette (using the
23 mcopy command).
24
25 very_long_name
26 2.many.dots
27 illegal:
28 good.c
29 prn.dev
30 Capital
31
32 Mcopy will convert the names to:
33
34 very_lon
35 2xmany.dot
36 illegalx
37 good.c
38 xprn.dev
39 capital
40
41 The command:
42
43 mkmanifest very_long_name 2.many.dots illegal: good.c prn.dev Capital >
44 manifest
45
46 would produce the following:
47
48 mv very_lon very_long_name
49 mv 2xmany.dot 2.many.dots
50 mv illegalx illegal:
51 mv xprn.dev prn.dev
52 mv capital Capital
53
54 Notice that "good.c" did not require any conversion, so it did not
55 appear in the output.
56
57 Suppose I've copied these files from the diskette to another Unix sys‐
58 tem, and I now want the files back to their original names. If the
59 file "manifest" (the output captured above) was sent along with those
60 files, it could be used to convert the filenames.
61
63 arc(1), pcomm(1), mtools(1)
64
65
66
67 local MKMANIFEST(1)