1uuto(1C) Communication Commands uuto(1C)
2
3
4
6 uuto, uupick - public UNIX-to-UNIX system file copy
7
9 uuto [-mp] source-file... destination
10
11
12 uupick [-s system]
13
14
16 uuto
17 uuto sends source-file to destination. uuto uses the uucp(1C) facility
18 to send files, while it allows the local system to control the file
19 access. A source-file name is a path name on your machine. Destination
20 has the form:
21
22
23 system[!system] ... !user
24
25
26 where system is taken from a list of system names that uucp knows
27 about. User is the login name of someone on the specified system.
28
29
30 The files (or sub-trees if directories are specified) are sent to PUB‐
31 DIR on system, where PUBDIR is a public directory defined in the uucp
32 source. By default, this directory is /var/spool/uucppublic. Specifi‐
33 cally the files are sent to
34
35
36 PUBDIR/receive/user/mysystem/files.
37
38
39 The recipient is notified by mail(1) of the arrival of files.
40
41 uupick
42 uupick accepts or rejects the files transmitted to the user. Specifi‐
43 cally, uupick searches PUBDIR for files destined for the user. For each
44 entry (file or directory) found, the following message is printed on
45 standard output:
46
47
48 from system sysname: [file file-name] [dir dirname] ?
49
50
51 uupick then reads a line from standard input to determine the disposi‐
52 tion of the file:
53
54 <new-line> Go to next entry.
55
56
57 d Delete the entry.
58
59
60 m [ dir ] Move the entry to named directory dir. If dir is not
61 specified as a complete path name (in which $HOME
62 is legitimate), a destination relative to the cur‐
63 rent directory is assumed. If no destination is
64 given, the default is the current directory.
65
66
67 a [ dir ] Same as m above, except it moves all the files sent
68 from system.
69
70
71 p Print the content of the file.
72
73
74 q Stop.
75
76
77 EOT (control-d) Same as q.
78
79
80 !command Escape to the shell to do command.
81
82
83 * Print a command summary.
84
85
87 uuto
88 The following options are supported by uuto:
89
90 -m Send mail to the sender when the copy is complete.
91
92
93 -p Copy the source file into the spool directory before transmis‐
94 sion.
95
96
97 uupick
98 The following option is supported by uupick:
99
100 -s system Search only the PUBDIR for files sent from system.
101
102
104 The following operands are supported for uuto:
105
106 destination A string of the form:
107
108 system-name!user
109
110 where system-name is taken from a list of system names
111 that uucp knows about; see uuname. The argument user is
112 the login name of someone on the specified system. The
113 destination system-name can also be a list of names such
114 as
115
116 system-name!system-name!... !system-name!user
117
118 in which case, an attempt is made to send the file via
119 the specified route to the destination. Care should be
120 taken to ensure that intermediate nodes in the route are
121 willing to forward information.
122
123
124 source-file A pathname of a file on the local system to be copied to
125 destination.
126
127
129 See environ(5) for descriptions of the following environment variables
130 that affect the execution of uuto and uupick: LC_TYPE, LC_MESSAGES, and
131 NLSPATH.
132
134 The following exit values are returned:
135
136 0 Successful completion.
137
138
139 >0 An error occurred.
140
141
143 PUBDIR /var/spool/uucppublic public directory
144
145
147 See attributes(5) for descriptions of the following attributes:
148
149
150
151
152 ┌─────────────────────────────┬─────────────────────────────┐
153 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
154 ├─────────────────────────────┼─────────────────────────────┤
155 │Availability │SUNWbnuu │
156 └─────────────────────────────┴─────────────────────────────┘
157
159 mail(1), uucp(1C), uustat(1C), uux(1C), uucleanup(1M), attributes(5)
160
162 In order to send files that begin with a dot (for instance, .profile),
163 the files must be qualified with a dot. For example, the following
164 files are correct:
165
166
167 .profile .prof* .profil?
168
169
170 The following files are incorrect:
171
172
173 *prof* ?profile
174
175
176
177SunOS 5.11 28 Mar 1995 uuto(1C)