mtools

What are mtools?

mtools are a set of programs for manipulating MS-DOS formatted disks on a Sun Workstation.

How to Use

To get a directory of the floppy disk:
mdir
Read a file from the floppy disk:
mread  floppy_filename   Unix_filename  
Write a file to the floppy disk:
mwrite  Unix_filename   floppy_filename
To change directory on the floppy disk:
mcd 
To delete a file from the floppy disk:
mdel floppy_filename
NOTE: MS-DOS filenames are 8 characters followed by a 3 character extension.

Related Commands

Occasionally, you need might to convert a MS-DOS ASCII Text file to/from a Unix ASCII Text file. This is done with the following commands:

To convert a MS-DOS Text File to a Unix Text file:

dos2unix Old_DOS_filename   New_Unix_filename
To convert a Unix Text File to a MS-DOS Text file:
unix2dos  Old_Unix_filename   New_DOS_filename
NOTE: The Unix & DOS Filenames must be different.

Manuals

For more information read the manual page on mtools (man mtools).

For more information read the manual page on dos2unix (man dos2unix).

For more information read the manual page on unix2dos (man unix2dos).

Availability

mtools, unix2dos, dos2unix are available on the Suns.


Press here to return to the User's Guide Menu.