cp - copy files and/or directories
cp [ -fiv ] source_file target_file
cp [ -fiv ] source... target_dir
The cp utility copies the source files/directories to the target. If the target is a file you may only specify one file as the source. cp will not copy a file onto itself.
-f Force copy if possible (DEFAULT)
-i Prompt for confirmation whenever the copy would overwrite an existing target.
-p Preserve source file attributes (like modDate) as much as possible onto the target.
-v Verbose. Echo "cp source target" before copy is done.
Specifying both -f and -i options is not considered an error. The -f option will override the -i option.
cp has no known bugs, but be aware that the current copy mode is binary mode.
0 = All sources were copied successfully.
$Revision: 1.2 $
$Log: cp,v $ Revision 1.2 2004/08/05 14:17:43 cwest cleanup, new version number on website
Revision 1.1 2004/07/23 20:10:02 cwest initial import
Revision 1.1 1999/03/27 13:03:57 schumacks Initial revision
This Perl implementation of cp was written by Ken Schumack firstname.lastname@example.org
COPYRIGHT and LICENSE
This program is copyright by Ken Schumack 1999.
This program is free and open software. You may use, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.