Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cp.bsd(1) — Domain/IX SR9.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

CP(1)

NAME

cp − copy

USAGE

cp [ −i ] [ −r ] file1 file2

cp [ −i ] [ −r ] file ... directory

DESCRIPTION

Cp copies file1 onto file2. It preserves the existing mode and owner of file2. If file2 did not exist, cp uses the mode of the source file. 

Cp can also be used to copy one or more files into directory, without changing their original filenames. It refuses to copy a file onto itself.

OPTIONS

−i Prompt with the name of the file whenever the copy will cause an old file to be overwritten. A ‘y’ answer causes cp to continue. Any other answer prevents it from overwriting the file. 

−r For source files that are directories, copy each subtree rooted at the specified name.  The destination must be a directory. 

RELATED INFORMATION

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

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