Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uulog(1C) — SunOS 3.2/SYS4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uux(1C)

mail(1)

UUCP(1C)  —  USER COMMANDS

NAME

uucp, uulog, uuname − unix to unix copy

SYNOPSIS

uucp [ −acCdfmr ] [ −esystem ] [ −nuser ] [ −ggrade ] [ −sspool ] [ −xdebug ] source_file ...

destination_file

uulog [ −ssys ] [ −uuser ]

uuname [ −l ] [ −v ]

DESCRIPTION

uucp copies each source-file to the named destination-file.  A filename may be a path name on your machine, or may have the form

system-name!pathname

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

Pathnames may be one of

(1)a full pathname;

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

(3)a pathname preceded by ~/; such a pathname will be replaced by the “public uucp” directory on the remote machine;

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

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

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

uulog maintains a summary log of uucp and uux transactions in the file /usr/spool/uucp/LOGFILE, by gathering information from partial log files named /usr/spool/uucp/LOG.∗.?. It removes the partial log files.

uuname lists the uucp names of systems that can be accessed using uucp. 

OPTIONS

UUCP Options

−a Avoid doing a getwd to find the current directory.  This is sometimes used for efficiency. 

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

−C Make a copy of outgoing files in the uucp spool directory, rather than copying the source file directly to the target system.  This lets you remove the source file after issuing the uucp command. 

−d Make all necessary directories for the file copy. 

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

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

−r Do not start the transfer, just queue the job. 

−nuser
Notify user on remote system (i.e., send user mail) that a file was sent. 

−esystem
Send the uucp command to the system system to be executed there.  This works only when the remote machine allows uucp to be executed by /usr/lib/uucp/uuxqt. 

−ggrade
grade is a single letter or number; lower ASCII values will cause a job to be transmitted earlier during a particular conversation.  The default grade is ‘n’. By way of comparison, uux(1C) defaults to ‘A’; mail is usually sent at grade ‘C’.

−sspool
Use spool as the spool directory instead of the default. 

−xdebug
Turn on the debugging at level debug. 

UULOG Options

−ssys Print information about work involving system sys.

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

UUNAME options

−l Display the local system-name. 

−v Verbose.  Display a description of each known system. 

FILES

/usr/spool/uucp spool directory

/usr/lib/uucp/ADMIN
list of known systems and descriptions

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

SEE ALSO

uux(1C), mail(1)

An Overview of Uucp in System Adminsitration for the Sun Workstation. 

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 pathname; 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 pathnames. 

BUGS

All files received by uucp will be owned by the userid 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. 

Sun Release 3.2  —  Last change: 9 July 1986

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