UUCP(1)UUCP(1)NAMEuucp - unix to unix copy program
SYNOPSISuucp [-flags] source-file ... destination-file
DESCRIPTION
Uucp copies files named by the source-file arguments to
the destination-file argument. A file name may be a
pathname 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:
o a full pathname;
o a pathname preceded by ~user/, where user is a userid
on the specified system and is replaced by that user's
login directory;
o a pathname prefixed by ~/, where the ~ is expanded
into the system's public directory (usually
/var/spool/uucppublic);
o a partial pathname, which 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 part of the source-file name is used.
Uucp preserves execute permissions across the transmission
and gives mode 0666 read and write permissions (see
chmod(2)).
OPTIONS-c Use the source file when copying out rather than
copying the file to the spool directory. (This is the
default.)
-C Copy the source file to the spool directory and
transmit the copy.
-d Make all necessary directories for the file copy.
(This is the default.)
-enode
Invoke uux(1) to arrange for the file transfer to be
UUCP 1
UUCP(1)UUCP(1)
done on node.
-f Do not make intermediate directories for the file
copy.
-ggrade
Grade is a single letter/number; lower ASCII sequence
characters will cause a job to be transmitted earlier
during a particular conversation. Default is `n'. By
way of comparison, uux(1) defaults to `A'; mail is
usually sent at `C'.
-m Send mail to the requester when the copy is complete.
-Mminsize
Abort if input data size is less than minsize.
-nuser
Notify user on remote system (i.e., send user mail)
that a file was sent.
-Pparams
Alters the pathname for the UUCP parameters file
[default: `/etc/uucp/CONFIG'].
-r Do not start the transfer, just queue the job.
-sspool
Use spool as the spool directory instead of the
default.
-Sspool
Equivalent to -s.
-xdebug
Turn on the debugging at level debug.
FILES
/etc/uucp/CONFIG Current parameters for all UUCP programs
(see uuparams(5)).
LOGDIR/errors UUCP error log.
LOGDIR/uucp/node Uucp log for node.
PARAMSDIR/L.aliases
Aliases for remote system names.
PARAMSDIR/L.sys Remote system names.
SEE ALSOmail(1), uusend(1), uux(1), uuparams(5).
D. A. Nowitz and M. E. Lesk, A Dial-Up Network of UNIX
Systems.
D. A. Nowitz, Uucp Implementation Description.
UUCP 2
UUCP(1)UUCP(1)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 uucp
administrator (usually UID 66).
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.)
At present uucp cannot copy to a system several `hops'
away, that is, a command of the form
uucp myfile system1!system2!system3!yourfile
is not permitted. Use uusend(1) instead.
When invoking uucp from csh(1), the `!' character must be
prefixed by the `\' escape to inhibit csh's history
mechanism. (Quotes are not sufficient.)
Uucp refuses to copy a file that does not give read access
to `other'; that is, the file must have at least 0444
modes.
Uucp currently cannot copy multiple files in one command
invocation. For now, use one uucp command for each file
you wish to copy.
UUCP 3