summaryrefslogtreecommitdiff
path: root/emulators/mtools/pkg-descr
blob: 0cbd8e28a4855cbde4ad59f5bf8cfb52ff83d57c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Mtools is a public domain collection of programs to allow Unix systems
to read, write, and manipulate files on an MSDOS filesystem (typically
a diskette).  Each program attempts to emulate the MSDOS equivalent
command as closely as practical.

The following MSDOS commands are emulated:

Mtool           MSDOS
name            equivalent      Description
-----           ----            -----------
mattrib         ATTRIB          change MSDOS file attribute flags
mcd             CD              change MSDOS directory
mcopy           COPY            copy MSDOS files to/from Unix
mdel            DEL/ERASE       delete an MSDOS file
mdir            DIR             display an MSDOS directory
mformat         FORMAT          add MSDOS filesystem to a low-level format
mlabel          LABEL           make an MSDOS volume label.
mmd             MD/MKDIR        make an MSDOS subdirectory
mrd             RD/RMDIR        remove an MSDOS subdirectory
mread           COPY            low level read (copy) an MSDOS file to Unix
mren            REN/RENAME      rename an existing MSDOS file
mtype           TYPE            display contents of an MSDOS file
mwrite          COPY            low level write (copy) a Unix file to MSDOS

You should be able to just close your eyes and pretend you're on an MSDOS
system.  Everything should work the same... except for the added 'm' at
the beginning of each command.

MSDOS filenames are optionally composed of a drive letter followed by
a colon, a subdirectory, and a filename.  Sub- directory names can use
either the '/' or '\' separator.  The use of the '\' separator or
wildcards will require the names to be enclosed in quotes to protect
them from the shell.

The regular expression "pattern matching" routines follow the
Unix-style rules.  For example, '*' matches all MSDOS files in lieu of
'*.*'.  The archive, hidden, read-only and system attribute bits are
ignored during pattern matching.





































			      local				2