SCCS-vsn: bin/cp/cp.1 5.1
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)cp.1 4.1 (Berkeley) %G%
+.\" @(#)cp.1 5.1 (Berkeley) %G%
.UC 4
.SH NAME
cp \- copy
.UC 4
.SH NAME
cp \- copy
] file1 file2
.PP
.B cp
[
.B \-i
] file1 file2
.PP
.B cp
[
.B \-i
] file ... directory
.SH DESCRIPTION
.I File1
] file ... directory
.SH DESCRIPTION
.I File1
.I cp
to continue. Any other answer will prevent it
from overwriting the file.
.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 "SEE ALSO"
cat(1), pr(1), mv(1)
.SH "SEE ALSO"
cat(1), pr(1), mv(1)