Mtools

Uses DOS-style commands on files and directories

mcd [directory]

mcopy [options] file-list target

mdel file-list

mdir [-w] directory

mformat [options] device

mtype [options] file-list

These utilities mimic DOS commands and manipulate GNU/Linux files or DOS files. The mcopy utility provides an easy way to move files between a GNU/Linux filesystem and a DOS disk. The default drive for all commands is /dev/fd0 or a: .

Summary

Table III-21 lists each of the utilities in the Mtools collection.

Table III-21. Utility
mcd Changes the working directory on the DOS disk
mcopy Copies DOS files from one directory to another
mdel Deletes DOS files
mdir Lists contents of DOS directories
mformat Adds DOS formatting information to a disk
mtype Displays ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.