|
|
1.1 root 1: .TH RCP 1
2: .CT 1 comm_mach
3: .SH NAME
4: rcp \- remote file copy
5: .SH SYNOPSIS
6: .B rcp
7: .I filename1 filename2
8: .PP
9: .B rcp
10: [
11: .B -r
12: ]
13: .I filename ... directory
14: .SH DESCRIPTION
15: .I Rcp
16: copies files across TCP/IP connections.
17: Each
18: .I filename
19: or
20: .I directory
21: argument is either a remote file name of the form:
22: .IP
23: .IB hostname : path
24: .LP
25: or a local file name (containing no
26: .L :
27: unless preceded by
28: .LR / ).
29: .PP
30: If a
31: .I filename
32: is not a full path name, it is interpreted relative to
33: your home directory on machine
34: .IR hostname .
35: A
36: .I path
37: on a remote host may be quoted to cause
38: metacharacters to be interpreted remotely.
39: .PP
40: Your current local user name
41: must exist on
42: .I hostname
43: and allow remote command execution by
44: .IR rsh ;
45: see
46: .IR con (1).
47: .PP
48: .I Rcp
49: handles third party copies, where neither source nor target files
50: are on the current machine.
51: Hostnames may also take the form
52: .IP
53: .IB username @ hostname : filename
54: .PP
55: to use
56: .I username
57: rather than your current local user name as the user name on
58: the remote host.
59: In this usage,
60: .I hostname
61: may be a full internet domain name.
62: .PP
63: The option is
64: .TP
65: .B \-r
66: Copy each subtree rooted at
67: .IR filename ;
68: in this case the destination must be a directory.
69: .SH FILES
70: .TF .profile
71: .TP
72: .F .cshrc
73: .TP
74: .F .login
75: .TP
76: .F .profile
77: .PD
78: .SH SEE ALSO
79: .IR con (1),
80: .IR cu (1),
81: .IR push (1),
82: .IR uucp (1)
83: .SH BUGS
84: There is no check against copying a file onto itself.
85: .br
86: Certain cases where a file name is given when a directory
87: is required are not diagnosed.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.