Mtools
Appearance
Developer(s) | The GNU Project |
---|---|
Stable release | 4.0.46[1]
/ 21 November 2024 |
Repository | |
Operating system | Unix-like |
License | GPL-3.0-or-later |
Website | www |
Mtools is an open source 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]
The mtools are part of the GNU Project and are released under the GNU General Public License (GPL-3.0-or-later).
Usage
[edit]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.[4]
See also
[edit]References
[edit]- ^ Alain Knaff (21 November 2024). "GNU mtools 4.0.46 released". Retrieved 21 November 2024.
- ^ https://www.gnu.org/software/mtools/ Homepage
- ^ Mielewczik, Michael. "mtools: DOS-Dateien unter Linux verwalten". Linux Intern. 1/1999: 81.
- ^ "online linux man page". Retrieved 31 July 2012.
External links
[edit]- mtools official page on the GNU website
- Boot disk images for DOS DOS disk images