uucp(1c)
NAME
uucp, uulog, uuname − unix to unix copy
SYNTAX
uucp [option...] source-file... destination-file
uulog [option...]
uuname [option...]
DESCRIPTION
The uucp command copies files named by the source-file arguments to the destination-file argument. A file name either 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 which uucp knows about. Shell metacharacters ?*[] appearing in the pathname part will be expanded on the appropriate system.
Pathnames may be a full pathname, a pathname preceded by ~user, where user is a userid on the specified system and is replaced by that user’s login directory, or anything else prefixed by 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 part of the source-file name is used. If a simple ~user destination is inaccessible to uucp, data is copied to a spool directory and the user is notified by mail(.).
The uucp command preserves execute permissions across the transmission and gives 0666 read and write permissions. For further information, see chmod(.).
OPTIONS
The following options are interpreted by uucp.
−dCreates all necessary directories for the file copy.
−cUses the source file when copying out rather than copying the file to the spool directory.
−m
Sends you mail when the copy is complete.
−nrec
Sends mail to the recipient.
−W
Expands only local files. Normally files names are prepended with the current working directory if a full path is not specified. The −W tells uucp to expand local files only.
The uulog command prints a summary of uucp and uux transactions that were recorded in the file /usr/spool/uucp/LOGFILE.
The options cause uulog to print logging information:
−ssys
Displays information about work involving specified system.
−uuser
Displays information about work involving specified user.
The uuname command lists the uucp names of known systems.
−lLists local system name.
WARNINGS
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.
RESTRICTIONS
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.)
FILES
/usr/spool/uucp - spool directory
/usr/lib/uucp/* - other data and program files
/etc/acucap - shared autodial modem database
SEE ALSO
mail(1), uux(1c), acucap(5)
"Uucp Implementation Description," ULTRIX-32 Supplementary Documentation, Vol. III:System Manager