The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<html><head><title>cp</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
</head>
<body class='pod'>
<!--
  generated by Pod::Simple::HTML v3.01,
  using Pod::Simple::PullParser v2.02,
  under Perl v5.008002 at Thu Aug  5 13:56:20 2004 GMT.

 If you want to change this HTML document, you probably shouldn't do that
   by changing it directly.  Instead, see about changing the calling options
   to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
   then reconverting this document from the Pod source.
   When in doubt, email the author of Pod::Simple::HTML for advice.
   See 'perldoc Pod::Simple::HTML' for more info.

-->

<!-- start doc -->
<a name='___top' class='dummyTopAnchor' ></a>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>cp - copy files and/or directories</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<p>cp [ <b>-</b><b>fiv</b> ] source_file target_file</p>

<p>cp [ <b>-</b><b>fiv</b> ] source...
target_dir</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

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

<h2><a class='u' href='#___top' title='click to go to top of document'
name="OPTIONS"
>OPTIONS</a></h2>

<p><b>-f</b> Force copy if possible (DEFAULT)</p>

<p><b>-i</b> Prompt for confirmation whenever the copy would overwrite an existing target.</p>

<p><b>-p</b> Preserve source file attributes (like modDate) as much as possible onto the target.</p>

<p><b>-v</b> Verbose.
Echo &#34;cp source target&#34; before copy is done.</p>

<p>Specifying both <b>-f</b> and <b>-i</b> options is not considered an error.
The <b>-f</b> option will override the <b>-i</b> option.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="BUGS"
>BUGS</a></h1>

<p><b>cp</b> has no known bugs,
but be aware that the current copy mode is binary mode.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="EXIT_STATUS"
>EXIT STATUS</a></h1>

<p>0 = All sources were copied successfully.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="REVISION_HISTORY"
>REVISION HISTORY</a></h1>

<p>$Revision: 1.3 $</p>

<p>$Log: cp.schumacks.html,v $
<p>Revision 1.3  2004/08/05 14:18:08  cwest
<p>cleanup, new version number on website
<p> Revision 1.1 2004/07/23 20:10:02 cwest initial import</p>

<p>Revision 1.1 1999/03/27 13:03:57 schumacks Initial revision</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>

<p>This Perl implementation of <b>cp</b> was written by Ken Schumack schumacks@att.net</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="COPYRIGHT_and_LICENSE"
>COPYRIGHT and LICENSE</a></h1>

<p>This program is copyright by Ken Schumack 1999.</p>

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

<!-- end doc -->

</body></html>