The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

cp - copy files and/or directories

SYNOPSIS

cp [ -fiv ] source_file target_file

cp [ -fiv ] source... target_dir

DESCRIPTION

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.

OPTIONS

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

BUGS

cp has no known bugs, but be aware that the current copy mode is binary mode.

EXIT STATUS

0 = All sources were copied successfully.

AUTHOR

This Perl implementation of cp was written by Ken Schumack schumacks@att.net

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.