2 .\" Copyright 1989 AT&T Copyright (c) 1995, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited
3 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
4 .\" http://www.opengroup.org/bookstore/.
5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
6 .\" This notice shall appear on any product containing this material.
7 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
9 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
10 .TH UUTO 1C "Mar 28, 1995"
12 uuto, uupick \- public UNIX-to-UNIX system file copy
16 \fBuuto\fR [\fB-mp\fR] \fIsource-file\fR... \fIdestination\fR
21 \fBuupick\fR [\fB-s\fR \fIsystem\fR]
28 \fBuuto\fR sends \fIsource-file\fR to \fIdestination\fR. \fBuuto\fR uses the
29 \fBuucp\fR(1C) facility to send files, while it allows the local system to
30 control the file access. A source-file name is a path name on your machine.
31 Destination has the form:
34 \fBsystem\fR[\fI!system\fR]\fI ... !user\fR
37 where \fBsystem\fR is taken from a list of system names that \fBuucp\fR knows
38 about. \fIUser\fR is the login name of someone on the specified system.
41 The files (or sub-trees if directories are specified) are sent to \fBPUBDIR\fR
42 on \fBsystem\fR, where \fBPUBDIR\fR is a public directory defined in the
43 \fBuucp\fR source. By default, this directory is \fB/var/spool/uucppublic\fR.
44 Specifically the files are sent to
47 \fBPUBDIR/receive/\fR\fIuser\fR/\fImysystem\fR/files.
50 The recipient is notified by \fBmail\fR(1) of the arrival of files.
54 \fBuupick\fR accepts or rejects the files transmitted to the user.
55 Specifically, \fBuupick\fR searches \fBPUBDIR\fR for files destined for the
56 user. For each entry (file or directory) found, the following message is
57 printed on standard output:
60 \fBfrom system \fR\fIsysname\fR\fB:\fR [file \fIfile-name\fR] [dir
61 \fBdirname\fR] \fB?\fR
64 \fBuupick\fR then reads a line from standard input to determine the disposition
87 \fB\fBm\fR [ \fIdir\fR ]\fR
90 Move the entry to named directory \fIdir.\fR If \fIdir\fR is not specified as a
91 complete path name (in which \fB$\fR\fBHOME\fR is legitimate), a destination
92 relative to the current directory is assumed. If no destination is given, the
93 default is the current directory.
99 \fB\fBa\fR [ \fIdir\fR ]\fR
102 Same as \fBm\fR above, except it moves all the files sent from \fBsystem\fR.
111 Print the content of the file.
126 \fBEOT (control-d)\fR
135 \fB\fB!\fR\fBcommand\fR\fR
138 Escape to the shell to do \fBcommand\fR.
147 Print a command summary.
154 The following options are supported by \fBuuto\fR:
161 Send mail to the sender when the copy is complete.
170 Copy the source file into the spool directory before transmission.
176 The following option is supported by \fBuupick\fR:
180 \fB\fB-s\fR\fI system\fR\fR
183 Search only the \fBPUBDIR\fR for files sent from \fBsystem\fR.
189 The following operands are supported for \fBuuto\fR:
193 \fB\fIdestination\fR\fR
196 A string of the form:
198 \fIsystem-name\fR\fB\|!\|\fR\fIuser\fR
200 where \fIsystem-name\fR is taken from a list of system names that \fBuucp\fR
201 knows about; see \fBuuname\fR. The argument \fIuser\fR is the login name of
202 someone on the specified system. The destination \fIsystem-name\fR can also be
203 a list of names such as
205 \fIsystem-name\fR\|\fB!\fR\|\fIsystem-name\|\fR\fB!\|\fR.\|.\|.\fB
206 \|!\|\fR\fIsystem-name\|\fR\fB!\fR\fI\|user\fR
208 in which case, an attempt is made to send the file via the specified route to
209 the destination. Care should be taken to ensure that intermediate nodes in the
210 route are willing to forward information.
216 \fB\fIsource-file\fR\fR
219 A pathname of a file on the local system to be copied to \fIdestination\fR.
222 .SH ENVIRONMENT VARIABLES
225 See \fBenviron\fR(5) for descriptions of the following environment variables
226 that affect the execution of \fBuuto\fR and \fBuupick\fR: \fBLC_TYPE\fR,
227 \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
231 The following exit values are returned:
238 Successful completion.
257 \fB/var/spool/uucppublic\fR public directory
263 \fBmail\fR(1), \fBuucp\fR(1C), \fBuustat\fR(1C), \fBuux\fR(1C),
264 \fBuucleanup\fR(1M), \fBattributes\fR(5)
268 In order to send files that begin with a dot (for instance, \fB\&.profile\fR),
269 the files must be qualified with a dot. For example, the following files are
273 \fB\| .profile .prof* .profil?\fR
276 The following files are incorrect:
279 \fB *prof* ?profile\fR