Format
uupick [–s system]
The uupick utility
is fully supported for compatibility with older UNIX systems.
However, because it is no longer supported by POSIX.2 IEEE standard
1003.2-1992, this utility should be avoided for applications intended
to be portable to other UNIX- branded systems.
Note:
Description
uupick is
an interactive shell script used to manage files in the UUCP public
receive directory that were sent to you using the uuto command.
Only those files in the receive directory are managed.
For
each file or directory entry found,
uupick prompts
you with one of the following messages, depending on the type of the
entry:
from system: file name ?
from system: dir name ?
where
system is
the name of the system that sent the file or directory, and
name is
the name of the file or directory.
To tell
uupick how
to handle an entry, issue one of the following commands:
- ENTER
- Skips this entry and go to the next one.
- *
- Display the uupick command summary.
- d
- Deletes the specified entry.
- m [target]
- Moves the entry to the named target directory or file. If the
target does not specify an absolute path name or no directory, the
path name is assumed to be relative to the current directory. If no
directory is given, uupick assumes the current
directory.
- a [dir]
- Moves all files from system to the target directory dir.
- p
- Prints the contents of the entry to standard output. If the entry
is a directory, p lists the files in the
directory.
- q
- Quits uupick.
- CTRL-D
- Quits uupick.
- !command
- Escapes to the shell in order to perform command.
The tilde (~) does not stand for the public UUCP directory
in path names specified inside
uupick. It
is interpreted by the command shell being used.
Options
- –s system
- Displays only files from the system system.
Localization
uupick uses
the following localization environment variables:
- LANG
- LC_ALL
- LC_CTYPE
- LC_MESSAGES
- LC_LCTIME
- NLSPATH
See Localization for more
information.
Files
uupick uses
the following files:
- /usr/lib/uucp/config
- The UUCP configuration
file, which contains the list of known systems as well as the location
of the public UUCP library. See uucc.
- /usr/spool/uucppublic
- The default value for
the public UUCP directory. The public UUCP directory is always the
home directory of the user uucp as defined in the user database.
- /usr/spool/uucppublic/receive/user/system
- When files are sent to
your system using uuto, they are placed
into /usr/spool/uucppublic/receive/user/system, where user is
your login name and system is the name of the system that sent
the files.
Usage notes
- uupick does not convert files from EBCDIC.
If you receive a file from an ASCII system, you will need to convert
it to EBCDIC.
- When moving files, uupick does not check
for files of the same name in the destination directory. These files
are overwritten.
- uupick is a shell script.
Portability
X/Open Portability Guide.