mtools

{{Infobox Software

| name = Mtools

| logo = 100px

| developer = The GNU Project

| screenshot =

| caption =

| latest release version = {{wikidata|property|preferred|references|edit|Q3327305|P348|P548=Q2804309}}

| latest release date = {{wikidata|qualifier|preferred|single|Q3327305|P348|P548=Q2804309|P577}}

| latest preview version = {{wikidata|property|preferred|references|edit|Q3327305|P348|P548=Q51930650}}

| latest preview date = {{wikidata|qualifier|preferred|single|Q3327305|P348|P548=Q51930650|P577}}

| operating system = Unix-like

| platform =

| genre =

| license = GPL-3.0-or-later

| website = {{URL|https://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.https://www.gnu.org/software/mtools/ Homepage{{Cite journal |last=Mielewczik |first=Michael |title=mtools: DOS-Dateien unter Linux verwalten. |journal=Linux Intern |volume=1/1999 |pages=81}}

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 -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.{{cite web|title=online linux man page|url=http://man.he.net/?topic=mtools§ion=all|accessdate=31 July 2012}}

See also

{{Portal|Free and open-source software}}

References

{{reflist}}