UUCP(1C)
NAME
uucp, uulog, uuname − unix to unix copy
SYNTAX
uucp [ option ] ... source-file ... destination-file
uulog [ option ] ...
uuname [ option ] ...
DESCRIPTION
Uucp.
Uucp 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:
1)a full pathname.
2)a pathname preceded by ~user, where user is a userid on the specified system and is replaced by that user’s login directory.
3)anything else is 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.
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.
-c Use the source file when copying out rather than copying the file to the spool directory.
-m Send mail to the requester when the copy is complete.
-W Prevent local expansion of remote file names. Normally files names are prepended with the current working directory if a full path is not specified. −W tells uucp to expand local files only.
Uulog.
Uulog prints a summary of uucp and uux(1C) transactions that were recorded in the file /usr/spool/uucp/LOGFILE.
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
Uuname lists the uucp names of known systems. The −l option returns the local system name.
FILES
/usr/spool/uucp - spool directory
/usr/lib/uucp/* - other data and program files
SEE ALSO
uux(1C), mail(1)
D. A. Nowitz, Uucp Implementation Description
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.)