2 .\" Copyright (c) 1983, 1990, 1993
3 .\" The Regents of the University of California. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 4. Neither the name of the University nor the names of its contributors
14 .\" may be used to endorse or promote products derived from this software
15 .\" without specific prior written permission.
17 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .\" @(#)rcp.1 8.1 (Berkeley) 5/31/93
46 .Sh DEPRECATION NOTICE
48 is deprecated and will be removed from future versions of the
53 is still required, it can be installed from ports or packages
58 utility copies files between machines.
63 argument is either a remote file name of the
65 .Dq ruser@rhost:path ,
66 or a local file name (containing no
75 The following options are available:
76 .Bl -tag -width indent
78 Use IPv4 addresses only.
80 Use IPv6 addresses only.
84 to attempt to preserve (duplicate) in its copies the modification
85 times and modes of the source files, ignoring the
87 By default, the mode and owner of
89 are preserved if it already existed; otherwise the mode of the source file
92 on the destination host is used.
94 If any of the source files are directories,
96 copies each subtree rooted at that name; in this case
97 the destination must be a directory.
102 is not a full path name, it is interpreted relative to
103 the login directory of the specified user
107 or your current user name if no other remote user name is specified.
110 on a remote host may be quoted (using
115 so that the metacharacters are interpreted remotely.
119 utility does not prompt for passwords; it performs remote execution
122 and requires the same authorization.
126 utility handles third party copies, where neither source nor target files
127 are on the current machine.
142 has been reimplemented with Kerberos in
145 Does not detect all cases where the target of a copy might
146 be a file in cases where only a directory should be legal.
148 Is confused by any output generated by commands in a
153 file on the remote host.
155 The destination user and hostname may have to be specified as
157 when the destination machine is running the