UNIX/LINUX Command – mcopy

March 2, 2019

Comments

Adsense

Adsense

Adsense

Adsense

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.)

Satish Kumar

Satish Kumar

I am Satish Kumar, Founder of LinuxConcept. Linux and F.O.S.S enthusiast, love to work on open source platform and technologies.

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Related Posts

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAMEstrip—Discard symbols from object files. SYNOPSISstrip [ -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

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

0 Comments

0 Comments

Submit a Comment

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

five × 5 =

News & Updates

Join Our Newsletter

Adsense

Adsense

Adsense

Adsense