Mtools

Mtools is an open source collection of tools to allow a Unix operating system to manipulate files on an MS-DOS file system, typically a floppy disk or floppy disk image.

Mtools
Developer(s)The GNU Project
Stable release
4.0.26[1] / 28 November 2020 (28 November 2020)
Repository
Operating systemUnix-like
LicenseGNU GPL
Websitewww.gnu.org/software/mtools/

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

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 -i Disk.img file_source ::file_target

Copying a file from floppy image to the current directory:

$ mcopy -i Disk.img ::file_source file_target

Deleting all files in the disk image

$ mdel -i Disk.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.[2]

See also

References

  1. "GNU mtools 4.0.26 released"; author name string: Alain Knaff; publication date: 28 November 2020; retrieved: 28 November 2020.
  2. "online linux man page". Retrieved 31 July 2012.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.