Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rcp.bsd(1) — Domain/IX SR9.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

RCP(1)

NAME

rcp − remote file copy

USAGE

rcp file1 file2
rcp [ −r ] file ... directory

DESCRIPTION

Rcp copies files between machines.  Each file or directory argument is either a remote filename of the form rhost:path, a local filename containing no colon (:) characters, or a local filename using a slash (/) before any colon characters.

If you specify the −r option, and any of the source files are directories, rcp copies each subtree rooted at that name.  The destination must be a directory. 

If the path is not a full pathname, it is interpreted relative to your log-in directory on rhost. A path on a remote host may be quoted so that metacharacters are interpreted remotely.  To do this, use a backslash (\), right quotation marks (”), or a single quote (´). 

Rcp does not prompt for passwords.  Therefore, your current local name must exist on rhost and allow remote command execution via rsh (1). 

Rcp handles third-party copies, where neither source nor target files are on the current machine.  Host names may also take the form rhost.rname to use rname rather than your current name on the remote host. 

CAUTIONS

Rcp does not detect all cases where the target of a copy might be a file and only a directory should be legal. 

It is confused by any output generated by commands in a .login, .profile, or .cshrc file on the remote host. 

RELATED INFORMATION

ftp (1), rlogin (1), rsh (1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026