[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5

uupick Command

Purpose

Completes the transfer of and handles files sent by the uuto command.

Syntax

uupick [ -sSystem ]

Description

The uupick command is a Basic Networking Utilities (BNU) command that completes the transfer and handles files that the BNU uuto command has transmitted to a designated user ID.

Once the copied file is the receive directory, the rmail command notifies the recipient that the file has arrived. The recipient then issues the uupick command, which searches the public directory on the local system for files sent with some form of the following name:

/var/spool/uucppublic/receive/User/System/File

For each file or directory found, the uupick command displays the following message on the screen of the local system:

from System: [file File] [dir Directory]
?

The question mark prompt (?) following the message indicates you can now enter one of the file-handling options.

Flags

-s System Searches /var/spool/uucppublic/receive/User/System for files sent from the specified system. System names contain only ASCII characters.

File-Handling Options

The question mark prompt (?) following a message indicates that one of the following file-handling options should be entered:

Option Action
!Command Escapes to a shell to run the specified command. After the command executes, the user is automatically returned to the uupick command.
* Displays all the file-handling options.
a [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 relative path name to specify the destination directory.
Ctrl-D Stops processing and exits from the uupick command.
d Deletes the specified file.
m [Directory] Moves the file to a specified directory. If the Directory variable is not specified as a complete path name, a destination relative to the current directory is assumed. If no destination is given, the default is the current working directory on the local system.
new-line Moves to the next entry in the receive directory when the Enter key is pressed.
p Displays the contents of the file on the workstation screen.
q Stops processing and exits from the uupick command.

Examples

  1. To receive a file sent with the uuto command and add it to the current working directory, enter:

    uupick

    The system responds with a message similar to:

    from system anchor: file file1
    ?

    Enter:
    a
    In this example, the /usr/bin/file1 file sent with the uuto command from system anchor is added to the current working directory.

  2. To receive a file sent with the uuto command and add it to a specified directory on your local system, enter:

    uupick

    The system responds with a message similar to:

    from system anchor: file file2
    ?

    Enter:
    /usr/bin1
    In this example, the /usr/bin/file2 file sent with the uuto command from system anchor is added to the /usr/bin1 directory on the local system.

    Note: The a /usr/bin1 instruction means move all files, not just one. Thus, if any other files are in the ~/anchor/... directory, they will also be moved.
  3. To search for files sent from system anchor, enter:
    uupick  -s anchor
    The system responds with a message similar to:

    from system anchor: file file1

Files

/usr/bin/uupick Contains the uupick command.
/var/spool/uucppublic Contains the BNU public directory.

Related Information

The ct command, cu command, uucp command, uuname command, uustat command, uuto command, uux command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]