uupick - receive public system-to-system file copies (LEGACY)
uupick [-s system]
The uupick utility can be used by a user to accept or reject the files transmitted to the user. Specifically, uupick searches the public directory (called "PUBDIR"; the actual location of PUBDIR is implementation-dependent) on the user's system for files sent to the user. For each entry (file or directory) found, the user is prompted for each file or directory. The uupick utility then reads a line from the standard input to determine the disposition of the file. The user's possible responses are:
- newline
- Go on to next entry.
- d
- Delete the entry.
- m[dir]
- Move the entry to named directory dir. If dir is not specified as an absolute pathname 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 except moving all the files sent from system.
- p
- Write the content of the file to standard output.
- q
- Stop and exit.
- <EOF>
- Same as q.
- !command
- Escape to the command interpreter to execute command.
- *
- Write a usage summary for the possible responses described here.
The uupick utility supports the XBD specification, Utility Syntax Guidelines . The following option is supported:
- -s system
- Process only files sent from system.
None.
Used to read the user's response to each file or directory prompt.
The files to be copied are regular files.
The following environment variables affect the execution of uupick:
- 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 .
Default.
Prompts are written to standard output in an unspecified format. The prompt will contain at least the sending system name and the name of the subject file or directory.
Used only for diagnostic messages.
The output files are copies of the input files.
None.
The following exit values are returned:
- 0
- Successful completion.
- >0
- An error occurred.
Default.
There is no option (such as the SHELL variable) to specify a different command interpreter for use with !command.Writing a file using p can cause problems on some terminals if the file is not a text file or contains control characters.
None.
None.
uucp, uuto, uustat, uux.