Mtools

Last updated
Mtools
Developer(s) The GNU Project
Stable release
4.0.48 [1]   OOjs UI icon edit-ltr-progressive.svg / 22 February 2025
Repository
Operating system Unix-like
License GPL-3.0-or-later
Website www.gnu.org/software/mtools/

Mtools is a free software collection of utilities to allow a Unix operating system to manipulate files on an MS-DOS file system, typically a floppy disk or floppy disk image. [2] [3]

Contents

The mtools are part of the GNU Project and are released under the GNU General Public License (GPL-3.0-or-later).

Usage

The following refers to mtools usage in floppy images. (Useful for virtual machines such as QEMU or VirtualBox.)

Copying a file to floppy image:

$ mcopy-iDisk.imgfile_source::file_target 

Copying a file from floppy image to the current directory:

$ mcopy-iDisk.img::file_sourcefile_target 

Deleting all files in the disk image

$ mdel-iDisk.img'::*.*'

The drive character : (colon) has a special meaning. It is used to access image files which are directly specified on the command line using the -i options. [4]

See also

References

  1. Alain Knaff (22 February 2025). "GNU mtools 4.0.48 released" . Retrieved 24 February 2025.
  2. https://www.gnu.org/software/mtools/ Homepage
  3. Mielewczik, Michael. "mtools: DOS-Dateien unter Linux verwalten". Linux Intern. 1/1999: 81.
  4. "online linux man page" . Retrieved 31 July 2012.