rcp(1N) rcp(1N)
NAME
rcp - remote file copy
SYNOPSIS
rcp file1 file2
rcp [-r] file ... directory
DESCRIPTION
rcp copies files between machines connected by Ethernet and
running the B-NET software. Each file or directory argument
is either a remote filename of the form rhost:path, or a
local filename (containing no ``:'' characters, or a ``/''
before any ``:''s.)
If the -r flag option is specified and any of the source
files are directories, rcp copies each subtree rooted at
that name; in this case the destination must be a directory.
If path is not a full pathname, it is interpreted relative
to your login directory on rhost. A path on a remote host
may be quoted (using \, ", or ') so that the metacharacters
are interpreted remotely.
rcp does not prompt for passwords; your current local user
name must exist on rhost and allow remote command execution
via remsh(1N).
rcp handles third party copies, where neither source nor
target files are on the current machine. Hostnames may also
take the form rhost.rname to use rname rather than the
current user name on the remote host.
FILES
/usr/bin/rcp
SEE ALSO
ftp(1N), remsh(1N), rlogin(1N),
``Using B-NET'' in Oreo Communications User's Guide.
BUGS
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 .login,
.profile, or .cshrc file on the remote host.
Page 1 (last mod. 1/16/87)