uuto - Copies public files between systems using local
file access control
uuto [-mp] source... user
The uuto command copies one or more source files from one
system to a specified user on another system.
Interfaces documented on this reference page conform to
industry standards as follows:
uuto(): XCU5.0
Refer to the standards(5) reference page for more information
about industry standards and associated tags.
Notifies the sender by mail when the copy is complete.
Copies the source file to the spool directory on the local
system. The source file resides in the spooling directory
for a set period of time (defined in the uusched program)
before the uucp command calls the uucico daemon, which
actually transfers the copy to the public directory on the
specified remote system. The default is to transfer a
source file directly to the specified user.
The uuto command calls the uucp command for the actual
file transfer, but uuto enables the recipient to use the
uupick command to handle the transferred files on the
local system.
The source argument is the name of the files on the local
system, or a pathname to the files on the system that runs
the command. The user is a specific user ID. This entry
has the following format: system!user
where system is the name of a remote system connected to
the local system, and user is the login name of the recipient
of the transferred files on the specified system.
When copying a file from one user to another user on the
local system, omit the system entry; the destination is
simply the login name of the user to whom the file is
being sent.
The uuto command sends files to /usr/spool/uucppublic on
the designated system; this is a public directory. The
command also creates an additional directory called
receive (if it does not already exist), plus the directory
/user/system under receive. The full pathnames to the
copied files are of the following form, /usr/spool/uucppublic/receive/user/system/file
where user is the login name of the recipient and system
is the name of the system from which file was copied.
Once the copied file is in the receive directory, uuto
notifies the recipient by rmail that the file has arrived.
The recipient then issues the uupick command, which
searches the public directory for files sent to the specified
user ID, displaying the message that file file has
arrived from system system for each file it locates. The
user then enters one of the uupick file-handling options
to delete the file, move it to another directory, and so
on.
The uuto utility is marked LEGACY in XCU Issue 5.
To copy the file /usr/bin/file1 on local system hera to
user karen on remote system zeus, enter the following:
uuto /usr/bin/file1 zeus!karen
The file /usr/bin/file1 is sent to remote system
zeus, and is stored there at /usr/spool/uucppublic/receive/karen/hera/file1.
To copy a file to a
user on a remote system and receive a message back
telling you if the source file was successfully
copied, enter: uuto -m /usr/bin/file2 zeus!karen
The file /usr/bin/file2 is sent to the user karen
on the remote system zeus at the same location as
in Example 1, and a message confirming that the
copy was successful is returned to the sender. To
copy a file to another user on local system hera,
enter: uuto /usr/bin/file3 ron
The file /usr/bin/file3 is sent to the user ron on
the local system, and is stored in /usr/spool/uucppublic/receive/ron/hera/file3.
No mail message is
sent to the recipient in a local transfer.
ENVIRONMENT VARIABLES [Toc] [Back] The following environment variables affect the execution
of uuto: [Tru64 UNIX] Specifies the flow control used on
the connection. Permitted values are: HW (hardware), SW
(software), HSW (hardware and software), and NONE. The
uugetty on the remote system must also use the same flow
control. Provides a default value for the internationalization
variables that are unset or null. If LANG is unset
or null, the corresponding value from the default locale
is used. If any of the internationalization variables
contains an invalid setting, the utility behaves as if
none of the variables had been defined. If set to a nonempty
string value, overrides the values of all the other
internationalization variables. Determines the locale for
the interpretation of sequences of bytes of text data as
characters (for example, single-byte as opposed to multibyte
characters in arguments and input files). Determines
the locale that should be used to affect the format and
contents of diagnostic messages written to standard error.
Determines the location of message catalogues for the processing
of LC_MESSAGES. [Tru64 UNIX] Specifies the
amount of time (in seconds) for uucico to try to establish
a connection before it times out. A value of 0 (zero)
indicates an unlimited amount of time.
Public directory.
Commands: mail(1), ct(1), cu(1), rmail(1), tip(1),
uucico(8), uucleanup(8), uucp(1), uuencode(1), uulog(1),
uuname(1), uupick(1), uusched(8), uusend(1), uustat(1),
uux(1)
Standards: standards(5)
uuto(1)
[ Back ] |