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

 NAME

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

 SYNOPSIS



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

 DESCRIPTION

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:


PUBDIR/receive/user/fsystem

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.

 OPTIONS

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

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

 OPERANDS

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

system-name!user

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:

system-name!system-name!...!system-name!user

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.
source-file
A pathname of a file on the local system to be copied to destination.

 STDIN

Not used.

 INPUT FILES

The files to be copied are regular files.

 ENVIRONMENT VARIABLES

The following environment variables affect the execution of uuto:
LANG
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.
LC_ALL
If set to a non-empty string value, override the values of all the other internationalisation variables.
LC_CTYPE
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).
LC_MESSAGES
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.
NLSPATH
Determine the location of message catalogues for the processing of LC_MESSAGES .

 ASYNCHRONOUS EVENTS

Default.

 STDOUT

None.

 STDERR

Used only for diagnostic messages.

 OUTPUT FILES

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

 EXTENDED DESCRIPTION

None.

 EXIT STATUS

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

 CONSEQUENCES OF ERRORS

Default.

 APPLICATION USAGE

None.

 EXAMPLES

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

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 ]