Home » mariadb on ubuntu » UNIX/LINUX Command – mcopy

UNIX/LINUX Command – mcopy

Last updated Apr 25, 2021

NAME

mcopy—Copy MS-DOS files to/from UNIX

SYNOPSIS

mcopy [ -tnvmoOsSrRA ] sourcefile targetfile
mcopy [ -tnvmoOsSrRA ] sourcefile [ sourcefiles… ] targetdirectory
mcopy [ –tnvm ] MSDOSsourcefile

DESCRIPTION

mcopy copies the specified file to the named file, or copies multiple files to the named directory. The source and target can be either MS-DOS or UNIX files.

The use of a drive letter designation on the MS-DOS files—a: for example—determines the direction of the transfer. A missing drive designation implies a UNIX file whose path starts in the current directory. If a source drive letter is specified with no attached filename (for example, mcopy a: .), all files are copied from that drive.

If only a single, MS-DOS source parameter is provided (for example, mcopy a:foo.exe), an implied destination of the current directory (.) is assumed.

A filename of – means standard input or standard output, depending on its position on the command line.

mcopy will allow the following command-line options:

t          Text file transfer. mcopy will translate incoming carriage return/line feeds to line feeds.
n         No warning. mcopy will not warn the user when overwriting an existing file.
v          Verbose mode.
m        Preserve the file modification time.

If the target file already exists, and the -n option is not in effect, mcopy asks whether to overwrite the file or to rename the new file. (See the mtools(1) man page for details.)

Related Posts

UNIX/LINUX Command – rsync

UNIX/LINUX Command – rsync

NAME rsync – a fast, versatile, remote (and local) file-copying tool rsync Command SYNOPSIS Local: rsync [OPTION…] SRC… [DEST] Access via remote shell:Pull: rsync [OPTION…] [USER@]HOST:SRC… [DEST]Push: rsync [OPTION…] SRC… [USER@]HOST:DEST Access via rsync...

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAME strip—Discard symbols from object files. SYNOPSIS strip [ -Fbfdname|–target=bfdname ] [ -Ibfdname|–input-target=bfdname ] [ -Obfdname|–output-target=bfdname ] [-Rsectionname|–remove-section=sectionname ] [ -s|–strip-all ] [-S|-g|–strip-debug ][-x|–discard-all...

UNIX/LINUX Command – expand

UNIX/LINUX Command – expand

NAME expand—Convert tabs to spaces SYNOPSIS expand [–tab1[,tab2[,…]]] [–t tab1[,tab2[,…]]] [–i] [—tabs=tab1[,tab2[,…]]] [–initial] [–help] [–version] [file…] DESCRIPTION This manual page documents the GNU version of expand. expand writes the contents of each given...

UNIX/LINUX Command – uuencode

UNIX/LINUX Command – uuencode

NAME uuencode—Encode a binary fileuudecode—Decode a file created by uuencode SYNOPSIS uuencode [-m] [ file ] nameuudecode [-o outfile] [ file ]… DESCRIPTION uuencode and uudecode are used to transmit binary files over transmission mediums that do not support other...

Follow Us

Our Communities

The Ultimate Managed Hosting Platform
Load WordPress Sites in as fast as 37ms!

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

2 × one =

Shares