Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cp(1) — GDT-UNX 6.8_er0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cat(1)

pr(1)

mv(1)

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

cat(1), pr(1), mv(1)

4th Berkeley Distribution  —  @(#)cp.11.1%Q%%Y%

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026