The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


uuto - send public system-to-system file copies (LEGACY)


uuto [-mp] source-file... destination


The uuto utility sends source-files to destination. The uuto utility uses the uucp facility to send files, while it allows the local system to control the file access. A source-file name is a pathname on the user's machine.

The files (or subtrees if directories are specified) are sent to a public directory (called "PUBDIR"; the actual location of PUBDIR is implementation-dependent) on system. Specifically, the files are sent to the directory:


where user is the recipient, and fsystem is the sending system.

The recipient is notified by mail of the arrival of files.

Typical implementations of this utility require a communications line configured to use the XBD specification, General Terminal Interface  , but other communications means may be used. On systems where there are no available communications means (either temporarily or permanently), this utility will write an error message describing the problem and exit with a non-zero exit status.

The uuto utility cannot guarantee support for all character encodings in all circumstances. For example, transmission data may be restricted to 7-bits by the underlying network, 8-bit data and filenames need not be portable to non-internationalised systems, and so on. Under these circumstances, it is recommended that only characters defined in the ISO/IEC 646:1991 standard International Reference Version (equivalent to ASCII) 7-bit range of characters be used and that only characters defined in the Portable Filename Character Set be used for naming files.


The uuto utility supports the XBD specification, Utility Syntax Guidelines  . The following options are supported:

Send mail to the sender when the copy is complete.
Copy the source file into the spool directory before transmission.


The following operands are supported:
A string of the form:


where system-name is taken from a list of system names that uucp knows about; see uuname. The argument user is the login name of someone on the specified system. The destination system-name can also be a list of names such as:


in which case, an attempt is made to send the file via the specified route to the destination. Care should be taken to ensure that intermediate nodes in the route are willing to forward information.
A pathname of a file on the local system to be copied to destination.


Not used.


The files to be copied are regular files.


The following environment variables affect the execution of uuto:
Provide a default value for the internationalisation variables that are unset or null. If LANG is unset or null, the corresponding value from the implementation-dependent default locale will be used. If any of the internationalisation variables contains an invalid setting, the utility will behave as if none of the variables had been defined.
If set to a non-empty string value, override the values of all the other internationalisation variables.
Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single- as opposed to multi-byte characters in arguments and input files).
Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error, and informative messages written to standard output.
Determine the location of message catalogues for the processing of LC_MESSAGES .






Used only for diagnostic messages.


The output files (which may be on other systems) are copies of the input files.




The following exit values are returned:
Successful completion.
An error occurred.










mailx, uucp, uuencode, uupick, uustat, uux.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]