|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1235 (0x4d3)
Types: TextFile
Notes: UNIX file
Names: »cp.1«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man1/cp.1«
.TH CP 1 "1 April 1982" .UC 4 .SH NAME cp \- copy .SH SYNOPSIS .B cp [ .B \-i ] [ .B \-r ] file1 file2 .PP .B cp [ .B \-i ] [ .B \-r ] file ... directory .SH DESCRIPTION .I File1 is copied onto .IR file2 . The mode and owner of .I file2 are preserved if it already existed; the mode of the source file is used otherwise. .PP In the second form, one or more .I files are copied into the .I directory with their original file-names. .PP .I Cp refuses to copy a file onto itself. .PP If the .B \-i option is specified, .I cp will prompt the user with the name of the file whenever the copy will cause an old file to be overwritten. An answer of 'y' will cause .I cp to continue. Any other answer will prevent it from overwriting the file. .PP If the .B \-r option is specified and any of the source files are directories, .I cp copies each subtree rooted at that name; in this case the destination must be a directory. .SH NOTE This is BSD 4.2 .I cp program. Genix 4.1 lacks the .B \-r option. Since Genix 4.1 also lacks the .IR mkdir (2) system call and only the superuser can call .IR mknod (2), this option forces .I cp to execute .IR mkdir (1) and is therefore slower than in BSD 4.2. .SH "SEE ALSO" cat(1), pr(1), mv(1), bcp(N)