.\" Copyright (c) 1983, 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)rcp.1 6.13 (Berkeley) %G%
copies files between machines. Each
argument is either a remote file name of the
form ``rname@rhost:path'', or a local file name (containing no `:' characters,
or a `/' before any `:'s).
If any of the source files are directories,
copies each subtree rooted at that name; in this case
the destination must be a directory.
to attempt to preserve (duplicate) in its copies the modification
times and modes of the source files, ignoring the
By default, the mode and owner of
are preserved if it already existed; otherwise the mode of the source file
on the destination host is used.
for the remote host in realm
instead of the remote host's realm as determined by
option turns on DES encryption for all data passed by
This may impact response time and CPU utilization, but provides
is not a full path name, it is interpreted relative to
the login directory of the specified user
or your current user name if no other remote user name is specified.
on a remote host may be quoted (using \e, ", or \(aa)
so that the metacharacters are interpreted remotely.
does not prompt for passwords; it performs remote execution
and requires the same authorization.
handles third party copies, where neither source nor target files
are on the current machine.
appeared in 4.2 BSD. The version of rcp described here
has been reimplemented with Kerberos in 4.3+Reno BSD.
Doesn't detect all cases where the target of a copy might
be a file in cases where only a directory should be legal.
Is confused by any output generated by commands in a
The destination user and hostname may have to be specified as
``rhost.rname'' when the destination machine is running the 4.2BSD