Jump to content

Mtools

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Sudhir h (talk | contribs) at 07:01, 10 December 2010 (Categorizing article - You can help!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Mtools
Developer(s)The GNU Project
Stable release
4.0.13 / February 28, 2010 (2010-02-28)
Repository
Operating systemUnix-like
LicenseGNU GPL
Websitehttp://www.gnu.org/software/mtools/

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

The mtools are part of the GNU Project and are released under the GPL licence.

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.

See also