Copies files from one system to another.
uuto [ -m ] [ -p ] Source ... User
The uuto command is a Basic Networking Utilities (BNU) command that copies one or more Source files from one system to a specified User on another UNIX based system. This program uses the uucp command for the actual file transfer, but the uuto command enables the recipient to use the uupick command options to handle the transferred file on the local system.
The sender issues the uuto command to copy one or more files to a specific user ID on another system. The uucp command then copies the file to the BNU public directory, /var/spool/uucppublic, on the destination system. The uucp command also creates an additional subdirectory called receive (if it does not already exist) and directories below it in which to hold the files until the recipient retrieves them with the uupick command. The full path names to the copied files are some form of the following name:
/var/spool/uucppublic/receive/UserName/System/File
where the UserName and System directories are created based on the User parameter given with the uuto command.
Once the copied file is in the receive directory, the rmail command notifies the recipient that a file has arrived. The recipient then issues the uupick command, and this command searches the public directory for files sent to the recipient and notifies the recipient about each file it locates. The recipient then enters one of the uupick options to handle the file.
The sender must give the name of the file to be sent and user and system to which the file is to be transferred. The Source parameter is the path name of the source file. This can be the name of the file if the file is in the directory from which the uuto command is issued. If the file is in a different directory, the complete or relative path name of the file must be given.
The User parameter is the path name to the specific location where the source file is to be copied. This path name must include the user identification of the person the file is being sent to. The User parameter has the form:
System!UserName
where System is the name of the remote system connected to the local system, and UserName 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 the ID of the user to whom the file is being sent. System names can contain only ASCII characters.
-m | Notifies the sender by the bellmail command when the source file has been successfully copied. |
-p | 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. |
uuto /home/bin/file1 zeus!karen
In this example, the /home/bin/file1 file is sent to user karen on the remote system zeus.
uuto /home/bin/file3 ron
In this example, the /home/bin/file3 file is sent to user ron on the local system. No mail message is sent to the recipient in a local transfer.
/usr/bin/uuto | Contains the uuto command. |
/var/spool/uucppublic | Is the BNU public directory. |
The bellmail command, ct command, cu command, uucp command, uuname command, uupick command uustat command, uux command.
The uucico daemon, uusched daemon.