|
|
1.1 root 1:
2:
3:
4: UUCP(1) 1990 UUCP(1)
5:
6:
7:
8: NNAAMMEE
9: uucp - unix to unix copy
10:
11: SSYYNNOOPPSSIISS
12: uuuuccpp [ --aaccCCddffmmrr ] [ --nn_u_s_e_r ] [ --gg_g_r_a_d_e ] [ --ss_s_p_o_o_l ] [ --xx_d_e_-
13: _b_u_g ] source-file.... destination-file
14:
15: DDEESSCCRRIIPPTTIIOONN
16: _U_u_c_p copies files named by the source-file arguments to the
17: destination-file argument. A file name may be a pathname on
18: your machine, or may have the form
19:
20: system-name!pathname
21:
22: where `system-name' is taken from a list of system names
23: that _u_u_c_p knows about. Shell metacharacters ?*[] appearing
24: in the pathname part will be expanded on the appropriate
25: system.
26:
27: Pathnames may be one of:
28:
29: (1) a full pathname;
30:
31: (2) a pathname preceded by ~~_u_s_e_r; where _u_s_e_r is a userid on
32: the specified system and is replaced by that user's
33: login directory;
34:
35: (3) a pathname prefixed by ~~, where ~~ is expanded into the
36: system's public directory (usually
37: /var/spool/uucppublic);
38:
39: (4) a partial pathname, which is prefixed by the current
40: directory.
41:
42: If the result is an erroneous pathname for the remote sys-
43: tem, the copy will fail. If the destination-file is a
44: directory, the last part of the source-file name is used.
45:
46: _U_u_c_p preserves execute permissions across the transmission
47: and gives 0666 read and write permissions (see _c_h_m_o_d(2)).
48:
49: The following options are interpreted by _u_u_c_p.
50:
51: --aa Avoid doing a _g_e_t_w_d to find the current directory.
52: (This is sometimes used for efficiency.)
53:
54: --cc Use the source file when copying out rather than copy-
55: ing the file to the spool directory. (This is the
56: default.)
57:
58: --CC Copy the source file to the spool directory and
59: transmit the copy.
60:
61:
62:
63: Printed 7/4/90 June 1
64:
65:
66:
67:
68:
69:
70: UUCP(1) 1990 UUCP(1)
71:
72:
73:
74: --dd Make all necessary directories for the file copy.
75: (This is the default.)
76:
77: --ff Do not make intermediate directories for the file copy.
78:
79: --gg_g_r_a_d_e
80: _G_r_a_d_e is a single letter/number; lower ASCII sequence
81: characters will cause a job to be transmitted earlier
82: during a particular conversation. Default is `n'. By
83: way of comparison, _u_u_x(1) defaults to `A'; mail is usu-
84: ally sent at `C'.
85:
86: --mm Send mail to the requester when the copy is complete.
87:
88: --nn_u_s_e_r
89: Notify _u_s_e_r on remote system (i.e., send _u_s_e_r mail)
90: that a file was sent.
91:
92: --rr Do not start the transfer, just queue the job.
93:
94: --ss_s_p_o_o_l
95: Use _s_p_o_o_l as the spool directory instead of the
96: default.
97:
98: --xx_d_e_b_u_g
99: Turn on the debugging at level _d_e_b_u_g.
100:
101: FFIILLEESS
102: /var/spool/uucp - spool directory
103: /usr/lib/uucp/* - other data and program files
104:
105: SSEEEE AALLSSOO
106: uux(1), mail(1)
107:
108: D. A. Nowitz and M. E. Lesk, _A _D_i_a_l-_U_p _N_e_t_w_o_r_k _o_f _U_N_I_X _S_y_s_-
109: _t_e_m_s.
110:
111: D. A. Nowitz, _U_u_c_p _I_m_p_l_e_m_e_n_t_a_t_i_o_n _D_e_s_c_r_i_p_t_i_o_n.
112:
113: WWAARRNNIINNGG
114: The domain of remotely accessible files can (and for obvious
115: security reasons, usually should) be severely restricted.
116: You will very likely not be able to fetch files by pathname;
117: ask a responsible person on the remote system to send them
118: to you. For the same reasons you will probably not be able
119: to send files to arbitrary pathnames.
120:
121: BBUUGGSS
122: All files received by _u_u_c_p will be owned by the uucp
123: administrator (usually UID 5).
124:
125:
126:
127:
128:
129: Printed 7/4/90 June 2
130:
131:
132:
133:
134:
135:
136: UUCP(1) 1990 UUCP(1)
137:
138:
139:
140: The --mm option will only work sending files or receiving a
141: single file. (Receiving multiple files specified by special
142: shell characters ?*[] will not activate the --mm option.)
143:
144: At present _u_u_c_p cannot copy to a system several "hops" away,
145: that is, a command of the form
146:
147: uucp myfile system1!system2!system3!yourfile
148:
149: is not permitted. Use _u_u_s_e_n_d(1) instead.
150:
151: When invoking _u_u_c_p from _c_s_h(1), the `!' character must be
152: prefixed by the `\' escape to inhibit _c_s_h's history mechan-
153: ism. (Quotes are not sufficient.)
154:
155: _U_u_c_p refuses to copy a file that does not give read access
156: to ``other''; that is, the file must have at least 0444
157: modes.
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195: Printed 7/4/90 June 3
196:
197:
198:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.