summaryrefslogtreecommitdiff
path: root/static/v10/man1/rcp.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man1/rcp.1
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man1/rcp.1')
-rw-r--r--static/v10/man1/rcp.187
1 files changed, 87 insertions, 0 deletions
diff --git a/static/v10/man1/rcp.1 b/static/v10/man1/rcp.1
new file mode 100644
index 00000000..90169e76
--- /dev/null
+++ b/static/v10/man1/rcp.1
@@ -0,0 +1,87 @@
+.TH RCP 1
+.CT 1 comm_mach
+.SH NAME
+rcp \- remote file copy
+.SH SYNOPSIS
+.B rcp
+.I filename1 filename2
+.PP
+.B rcp
+[
+.B -r
+]
+.I filename ... directory
+.SH DESCRIPTION
+.I Rcp
+copies files across TCP/IP connections.
+Each
+.I filename
+or
+.I directory
+argument is either a remote file name of the form:
+.IP
+.IB hostname : path
+.LP
+or a local file name (containing no
+.L :
+unless preceded by
+.LR / ).
+.PP
+If a
+.I filename
+is not a full path name, it is interpreted relative to
+your home directory on machine
+.IR hostname .
+A
+.I path
+on a remote host may be quoted to cause
+metacharacters to be interpreted remotely.
+.PP
+Your current local user name
+must exist on
+.I hostname
+and allow remote command execution by
+.IR rsh ;
+see
+.IR con (1).
+.PP
+.I Rcp
+handles third party copies, where neither source nor target files
+are on the current machine.
+Hostnames may also take the form
+.IP
+.IB username @ hostname : filename
+.PP
+to use
+.I username
+rather than your current local user name as the user name on
+the remote host.
+In this usage,
+.I hostname
+may be a full internet domain name.
+.PP
+The option is
+.TP
+.B \-r
+Copy each subtree rooted at
+.IR filename ;
+in this case the destination must be a directory.
+.SH FILES
+.TF .profile
+.TP
+.F .cshrc
+.TP
+.F .login
+.TP
+.F .profile
+.PD
+.SH SEE ALSO
+.IR con (1),
+.IR cu (1),
+.IR push (1),
+.IR uucp (1)
+.SH BUGS
+There is no check against copying a file onto itself.
+.br
+Certain cases where a file name is given when a directory
+is required are not diagnosed.