summaryrefslogtreecommitdiff
path: root/static/v10/man1/cp.1
blob: b1f61d9513760ad14b453798ba3a868231d6719b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.pa 1
.he 'CP (I)'1/24/73'CP (I)'
.ti 0
NAME		cp -- copy
.sp
.ti 0
SYNOPSIS	cp__ file918 file928
.sp
.ti 0
DESCRIPTION	The
first file is copied onto the second.
The mode and owner of the target file
are preserved if it already
existed; the mode of the source file
is used otherwise.
.sp
If file928 is a directory, then the target 
file is a file in that directory with the file-name
of file918.
.sp
.ti 0
FILES		--
.sp
.ti 0
SEE ALSO	cat(I), pr(I), mv(I)
.sp
.ti 0
DIAGNOSTICS	Error returns are
checked at every system call, and
appropriate diagnostics are produced.
.sp
.ti 0
BUGS		Copying
a file onto itself destroys its contents.