1 .\" $NetBSD: rcp.1,v 1.5 1995/03/21 08:19:04 cgd Exp $
3 .\" Copyright (c) 1983, 1990, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed by the University of
17 .\" California, Berkeley and its contributors.
18 .\" 4. Neither the name of the University nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" @(#)rcp.1 8.1 (Berkeley) 5/31/93
54 copies files between machines. Each
58 argument is either a remote file name of the
59 form ``rname@rhost:path'', or a local file name (containing no `:' characters,
60 or a `/' before any `:'s).
66 option turns off all Kerberos authentication.
73 for the remote host in realm
75 instead of the remote host's realm as determined by
76 .Xr krb_realmofhost 3 .
82 to attempt to preserve (duplicate) in its copies the modification
83 times and modes of the source files, ignoring the
85 By default, the mode and owner of
87 are preserved if it already existed; otherwise the mode of the source file
90 on the destination host is used.
92 If any of the source files are directories,
94 copies each subtree rooted at that name; in this case
95 the destination must be a directory.
101 encryption for all data passed by
103 This may impact response time and
105 utilization, but provides
111 is not a full path name, it is interpreted relative to
112 the login directory of the specified user
116 or your current user name if no other remote user name is specified.
119 on a remote host may be quoted (using \e, ", or \(aa)
120 so that the metacharacters are interpreted remotely.
123 does not prompt for passwords; it performs remote execution
126 and requires the same authorization.
129 handles third party copies, where neither source nor target files
130 are on the current machine.
144 has been reimplemented with Kerberos in
147 Doesn't detect all cases where the target of a copy might
148 be a file in cases where only a directory should be legal.
150 Is confused by any output generated by commands in a
155 file on the remote host.
157 The destination user and hostname may have to be specified as
158 ``rhost.rname'' when the destination machine is running the