Dec 242017
 
MCP version 1.0 is a directory orientated copy program.
File MCP10.ZIP from The Programmer’s Corner in
Category File Managers
MCP version 1.0 is a directory orientated copy program.
File Name File Size Zip Size Zip Type
MCP.DOC 7335 2581 deflated
MCP.EXE 38006 17797 deflated

Download File MCP10.ZIP Here

Contents of the MCP.DOC file


mcp - copy files
Version 1.0, Copyright (c) 1991, Monk Software

General Idea:

Mcp is a directory-oriented copy program. It gives you better
control over which files you can copy or move. In the simplest
case, all files are copied from the source directory to the target
directory. A list of files can be specified to limit what is
copied. This list can have wild-card file specifications (default
list = *.*) and may be applied against either the source or target
directory (default = source). File dates and times can be used to
limit the file list. Recursive copies are also supported.

Usage:

mcp [-abcdfghimnorstvw?] source_dir target_dir [file_list]

Options:

-a - All
Copy all files in the file list without regard to file date or
time. This is the default. The alternative is to use the -n,
-o, -d, or, -w options.

-b - Create target dir
Create target directory if it does not exist. Normally mcp
will prompt the user to decide whether to create the target
directory. This option makes it easier to run mcp from a
batch or script file.

-c - Check
Check the operation of the mcp command without actually
copying any files. This mode sets the verbose options.

-d [boa]mm/dd/yy - Date
Copy files based on the date that they were last changed.
This flag takes one argument starting with the letters 'b',
'o', or 'a', followed by the date in the form, mm/dd/yy. The
prefix 'b' stands for 'before' but not including the specified
date. The prefix 'o' stands for 'on' the specified date, and
'a' stands for 'after' the specified date. The date ranges
specified using the 'a' and 'b' prefixes are 'and-ed'
together. The 'o' dates are then 'or-ed' with the result.
For example to specify all files last-changed during March,
you could type:
mcp -vd ao3/1/91 -d b4/1/91 . a:

-f file_name - File
Get the file list from the file which is specified as an
argument following the -f flag. If the file_name is '-' then
the file list will come from standard input.

-g - Gather
Gather the files from the source directory and all its
subdirectories into the one target directory.

-h - Hidden
Copy hidden files as well as non-hidden files.

-i - Interactive
Interactively ask the user if he wishes to copy each file,
before the copy occurs.

-m - Move
Removes all copied files from the source directory.

-n - Newer
Copy only newer files. If the source file already has a copy
in the target directory, then the copy or move only occurs if
the source file has a later date/time stamp then the target
copy. If a source file does not already exist in the target
directory, then the source file is copied. This option can be
handy for doing fast backups.

-o - Older
Copy only older files. If the source file already has a copy
in the target directory, then the copy or move only occurs if
the source file has an earlier date/time stamp then the target
copy. If a source file does not already exist in the target
directory, then the source file is copied. This option can be
handy for quickly restoring backups.

-no - Not On target
Copy only if the source file does not exist in the target
directory. This is a trick that uses the 'n' and 'o' options.

-r - Recursive
Recursively copy all of the subdirectories of the source
directory. Subdirectories that don't already exist under the
target directory are created.

-s - Source
Apply the file list to the source directory. This is the
default. The alternative is -t.

-t - Target
Apply the file list to the target directory. For example,
typing 'mcp -t . a:', would copy only those files in the
current directory which were already on the 'A' drive. This
is handy for doing backups.

-v - Verbose
Report all files that are copied or moved.

-vv - Very Verbose
Report all files that are copied or not copied.

-w [ba]hh:mm[pa] - When
Copy files based on the time that they were last changed.
This flag takes one argument starting with the letters 'b', or
'a', followed by the time in the form, hh:mm[ap]. The prefix
'b' stands for 'before' but not including the specified time.
and the prefix 'a' stands for 'after' the specified date. The
time ranges specified using the 'a' and 'b' prefixes are
'and-ed' together. For example to specify all files
last-changed after 10:00pm but before 11:00pm you could type:
mcp -vt a10:00p -t b11:00p . a:
If this option is used without the date option, then the
current system date is assumed.

-?
Print full documentation and exit. You are here!

Disk Overflow:

If the destination drive is full during a copy, then mcp will
pause and allow the user to change diskettes. If the user
specified -o, -n, or -t then she will not be able to change
floppies. This is because the original floppy was used to
determine which files to copy.

File List:

If not specified, the default file list is '*.*'. Any files
prefixed with '-' will be excluded from the file list. For
example, to copy all files in a directory except a file called
'junk' or those with a '.obj' suffix, you could type:
mcp -v . a: *.* -junk -*.obj
or
mcp -v . a: -junk -*.obj

To copy a file starting with '-', use a prefix of '\'. For
example, to copy a file named '-copy.me', you could type:
mcp -v . a: \-copy.me

On a recursive copy, the file list is applied recursively to the
source or target (with -t option) directory and all
subdirectories.

Nonexistent Target Directory:

If the target directory does not exist, either the user will be
asked if she wishes to create it or, if the -b option is
specified, it will be created automatically.

License:

This program is shareware. You are encouraged to try it out, and,
if you like it, to give it to friends and upload it to BBS's and
archive sites. We request a $10 fee to register this program.
When you register, you are supporting us and, in return, we will
support you. We hope to bring you more high-quality, low-cost
software in the future.

To protect ourselves, we must say that we will not be liable for
any damages resulting from use or abuse of this program. You use
'mcp' at your own risk. However, we strive to make the quality of
our programs high. Please report any bugs you find and we will
gladly fix them and send you an update.

Please send registration fees and/or suggestions to:
Monk Software
2464 El Camino Real, #404
Santa Clara, CA 95051
Include the name of the program, operating system, and disk size.

Bug reports and other comments can also be sent by e-mail on the
Internet to : [email protected]
UUCP: uunet!apple!netcom!monk


 December 24, 2017  Add comments

Leave a Reply