LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mcopy

copies files to/from MS-DOS filesystems

TLDR

Copy file to MS-DOS disk
$ mcopy [file.txt] [a:]
copy
Copy from MS-DOS disk
$ mcopy [a:file.txt] [.]
copy
Copy multiple files
$ mcopy [*.txt] [a:]
copy
Preserve modification time
$ mcopy -m [file] [a:]
copy
Overwrite without prompt
$ mcopy -o [file] [a:]
copy
Copy recursively
$ mcopy -s [dir/] [a:]
copy

SYNOPSIS

mcopy [options] source target

DESCRIPTION

mcopy copies files to/from MS-DOS filesystems. It's part of the mtools package.The tool accesses FAT filesystems without mounting. Useful for floppy disks and USB drives.

PARAMETERS

SOURCE

Source file or directory.
TARGET
Target location.
-m
Preserve modification time.
-o
Overwrite without asking.
-s
Recursive copy.
-n
No confirmation.
--help
Display help information.

CAVEATS

Part of mtools. Requires mtools config. FAT filesystem only.

HISTORY

mcopy is part of mtools, a collection of utilities for accessing MS-DOS disks from Unix.

SEE ALSO

mdir(1), mdel(1), mformat(1)

Copied to clipboard
Kai