uuto(1) — Commands
OSF
NAME
uuto − Copies public files between systems using local file access control
SYNOPSIS
uuto [-mp] source ... user
The uuto command copies one or more source files from one system to a specified user on another system.
FLAGS
-mNotifies the sender by mail when the copy is complete.
-pCopies 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.
DESCRIPTION
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 ID 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 therefore some form of the following:
/usr/spool/uucppublic/receive/user/system/file
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.
EXAMPLES
1.To copy a file to a user on a remote system, enter:
uuto /usr/bin/file1 zeus!karen
The file /usr/bin/file1 is sent to the user karen on the remote system zeus.
2.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 and a message confirming that the copy was successful is returned to the sender.
3.To copy a file to another user on the local system, enter:
uuto /usr/bin/file3 ron
The file /usr/bin/file3 is sent to the user ron on the local system. No mail message is sent to the recipient in a local transfer.
FILES
/usr/spool/uucppublic
Public directory.
RELATED INFORMATION
Commands: mail(1)/binmail(1), ct(1), cu(1), rmail(1), tip(1), uucico(8), uucleanup(8), uucp(1), uuencode(1)/uudecode(1), uulog(1), uuname(1), uupick(1), uusched(8), uusend(1), uustat(1), uux(1).