Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



CP(1)           DOMAIN/IX Reference Manual (SYS5)           CP(1)



NAME
     cp - copy files

USAGE
     cp file1 [ file2 ... ] target

DESCRIPTION
     Use cp to copy file(s) to a specified target. Under no cir-
     cumstances can any of the files being manipulated be the
     same as the target, so take care when using shell metachar-
     acters.  If target is a directory, file(s) will be copied to
     that directory.  If target is a file, its old contents are
     replaced by the contents of file.  If file1 is a file and
     target is a link to another file with links, the other links
     remain and target becomes a new file.  If target is not a
     file, cp creates a new file with the same mode as  file1.
     The owner and group of target are those of the user.  If
     target is a file, copying a file into target does not change
     its mode, owner, or group.  Cp sets the last modification
     time of target (and last access time, if target did not
     exist).  It also sets the last access time of file1 to the
     time the copy was made.  If target is a link to a file, all
     links remain and the file is changed.

RELATED INFORMATION
     chmod(1)
     cpio(1)
     rm(1)



























Printed 1/27/86                                              CP-1



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