uupick(1) [osf1 man page]
uupick(1) General Commands Manual uupick(1) NAME
uupick - Accepts or rejects files transmitted to a user by uuto SYNOPSIS
uupick [-ssystem] The uupick command accepts or rejects files that the uuto command has transmitted to a designated user ID. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: uupick: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Searches /usr/spool/uucppublic/receive/user/system only for files sent from the specified system. System names must contain only ASCII characters. DESCRIPTION
When the files have arrived, the rmail command notifies the recipient, who then issues the uupick command to receive and handle the files. Specifically, uupick searches the public directory on the local system for files with some form of the following name: /usr/spool/uucppublic/receive/user/system/file where user is the user ID of the user issuing the command. For each entry (file or directory) found, uupick displays the following message: from system: [file file] [dir directory] ? The uupick command then waits for a response from standard input to determine the disposition of the file or directory. Issuing the uupick command with the appropriate file-handling option completes the transfer. File-Handling Options After notifying the user that a file was sent from system, uupick displays a ? (question mark), prompting for one of the following file- handling options: Displays all file-handling options. Moves on to the next entry in the receive directory. Moves all uuto files currently in the receive directory into a specified directory on the local system. The default is the current working directory. Use a full or rel- ative pathname to specify a different directory. Deletes the specified file. Moves the specified file to a specified directory. If directory is not specified as a complete pathname, a destination relative to the current directory is assumed. If directory is not speci- fied at all, the default is the current working directory on the local system. Displays the contents of the file on the terminal screen. Stops processing and exits from uupick. Same as q. Escapes to a shell to run the specified command. After the command executes, it returns automatically to uupick so you can continue to handle the uuto files in the receive directory. NOTES
The uupick utility is marked LEGACY in XCU Issue 5. EXAMPLES
To receive file1 sent with the uuto command from user msg on system zagreb, enter: uupick The system responds: from system zagreb: file file1 ? FILES
Public directory. SEE ALSO
Commands: ct(1), cu(1), rmail(1), tip(1), uucico(8), uucleanup(8), uucp(1), uuencode(1), uulog(1), uuname(1), uusched(8), uusend(1), uus- tat(1), uuto(1), uux(1) Standards: standards(5) uupick(1)
Check Out this Related Man Page
uuto(1C) Communication Commands uuto(1C) NAME
uuto, uupick - public UNIX-to-UNIX system file copy SYNOPSIS
uuto [-mp] source-file... destination uupick [-s system] DESCRIPTION
uuto uuto sends source-file to destination. uuto uses the uucp(1C) facility to send files, while it allows the local system to control the file access. A source-file name is a path name on your machine. Destination has the form: system[!system] ... !user where system is taken from a list of system names that uucp knows about. User is the login name of someone on the specified system. The files (or sub-trees if directories are specified) are sent to PUBDIR on system, where PUBDIR is a public directory defined in the uucp source. By default, this directory is /var/spool/uucppublic. Specifically the files are sent to PUBDIR/receive/user/mysystem/files. The recipient is notified by mail(1) of the arrival of files. uupick uupick accepts or rejects the files transmitted to the user. Specifically, uupick searches PUBDIR for files destined for the user. For each entry (file or directory) found, the following message is printed on standard output: from system sysname: [file file-name] [dir dirname] ? uupick then reads a line from standard input to determine the disposition of the file: <new-line> Go to next entry. d Delete the entry. m [ dir ] Move the entry to named directory dir. If dir is not specified as a complete path name (in which $HOME is legitimate), a destination relative to the current directory is assumed. If no destination is given, the default is the current directory. a [ dir ] Same as m above, except it moves all the files sent from system. p Print the content of the file. q Stop. EOT (control-d) Same as q. !command Escape to the shell to do command. * Print a command summary. OPTIONS
uuto The following options are supported by uuto: -m Send mail to the sender when the copy is complete. -p Copy the source file into the spool directory before transmission. uupick The following option is supported by uupick: -s system Search only the PUBDIR for files sent from system. OPERANDS
The following operands are supported for uuto: 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. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of uuto and uupick: LC_TYPE, LC_MESSAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
PUBDIR /var/spool/uucppublic public directory ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWbnuu | +-----------------------------+-----------------------------+ SEE ALSO
mail(1), uucp(1C), uustat(1C), uux(1C), uucleanup(1M), attributes(5) NOTES
In order to send files that begin with a dot (for instance, .profile), the files must be qualified with a dot. For example, the following files are correct: .profile .prof* .profil? The following files are incorrect: *prof* ?profile SunOS 5.11 28 Mar 1995 uuto(1C)