CP(1) — UNIX Programmer’s Manual
NAME
cp − copy
SYNOPSIS
cp [ −ot ] file1 file2
cp [ −ot ] file ... directory
DESCRIPTION
File1 is copied onto file2. The mode and owner of file2 are preserved if it already exists; otherwise, the mode of the source file is used.
In the second form, one or more files are copied into the directory with their original file-names.
Cp refuses to copy a file onto itself.
Options:
−i Permits replication of a file to "itself". This is only appropriate when copying a file across a TeamNet EtherNet link. If a file is literally copied to itself, the result will contain ONLY the first block of the file!
−o Preserves ownership.
−t Preserves time stamp.
−v Verbose mode.
SEE ALSO
4th Berkeley Distribution — @(#)cp.11.1%Q%%Y%