Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mail(1)

uux(1C)

UUCP(1C)  —  UNIX 3.0

NAME

uucp, uulog, uuname − unix to unix copy

SYNOPSIS

uucp [ option ] ... source-file ...  destination-file

uulog [ option ] ...

uuname

DESCRIPTION

Uucp copies files named by the source-file arguments to the destination-file argument.  A file name may be a path name on your machine, or may have the form:

system-name!path-name

where system-name is taken from a list of system names which uucp knows about.  Shell metacharacters ?∗[] appearing in path-name will be expanded on the appropriate system. 

Path names may be one of:

(1) a full path name;

(2) a path name preceded by ~user where user is a login name on the specified system and is replaced by that user’s login directory;

(3) a path name preceded by ~/user where user is a login name on the specified system and is replaced by that user’s directory under PUBDIR;

(4) anything else is prefixed by the current directory. 

If the result is an erroneous path name for the remote system the copy will fail.  If the destination-file is a directory, the last part of the source-file name is used. 

Uucp preserves execute permissions across the transmission and gives 0666 read and write permissions (see chmod(2)).

The following options are interpreted by uucp:

−d Make all necessary directories for the file copy (default). 

−f Do not make intermediate directories for the file copy. 

−c Use the source file when copying out rather than copying the file to the spool directory (default). 

−C Copy the source file to the spool directory. 

−m Send mail to the requester when the copy is complete. 

−nuser
Notify user on the remote system that a file was sent. 

−esys Send the uucp command to system sys to be executed there.  (Note − this will only be successful if the remote machine allows the uucp command to be executed by /usr/lib/uucp/uuxqt.) 

Uulog maintains a summary log of uucp and uux(1C) transactions in the file /usr/spool/uucp/LOGFILE by gathering information from partial log files named /usr/spool/uucp/LOG.∗.?.  (These files will only be created if the LOGFILE is being used by another process.)  It removes the partial log files. 

The options cause uulog to print logging information:

−ssys Print information about work involving system sys.

−uuser
Print information about work done for the specified user.

Uuname lists the uucp names of known systems.  The −l option returns the local system name. 

FILES

/usr/spool/uucp spool directory

/usr/spool/uucppublic
public directory for receiving and sending (PUBDIR)

/usr/lib/uucp/∗ other data and program files

SEE ALSO

mail(1), uux(1C). 
Uucp Implementation Description by D. A. Nowitz. 

WARNING

The domain of remotely accessible files can (and for obvious security reasons, usually should) be severely restricted.  You will very likely not be able to fetch files by path name; ask a responsible person on the remote system to send them to you.  For the same reasons you will probably not be able to send files to arbitrary path names.  As distributed, the remotely accessible files are those whose names begin /usr/spool/uucppublic (equivalent to ~nuucp or just ~). 

BUGS

All files received by uucp will be owned by uucp.
The −m option will only work sending files or receiving a single file.  (Receiving multiple files specified by special shell characters ?∗[] will not activate the −m option.) 

May 16, 1980

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026