Manual Page Result
0
Command: rcp | Section: 1 | Source: UNIX v10 | File: rcp.1
RCP(1) General Commands Manual RCP(1)
NAME
rcp - remote file copy
SYNOPSIS
rcp filename1 filename2
rcp [ -r ] filename ... directory
DESCRIPTION
Rcp copies files across TCP/IP connections. Each filename or directory
argument is either a remote file name of the form:
hostname:path
or a local file name (containing no unless preceded by
If a filename is not a full path name, it is interpreted relative to
your home directory on machine hostname. A path on a remote host may
be quoted to cause metacharacters to be interpreted remotely.
Your current local user name must exist on hostname and allow remote
command execution by rsh; see con(1).
Rcp handles third party copies, where neither source nor target files
are on the current machine. Hostnames may also take the form
username@hostname:filename
to use username rather than your current local user name as the user
name on the remote host. In this usage, hostname may be a full inter-
net domain name.
The option is
-r Copy each subtree rooted at filename; in this case the destina-
tion must be a directory.
FILES
SEE ALSO
con(1), cu(1), push(1), uucp(1)
BUGS
There is no check against copying a file onto itself.
Certain cases where a file name is given when a directory is required
are not diagnosed.
RCP(1)