BSD 4_2 development
[unix-history] / usr / man / man1 / uucp.1c
CommitLineData
75c09b3f
C
1.TH UUCP 1C "18 January 1983"
2.UC 4
3.SH NAME
4uucp, uulog \- unix to unix copy
5.SH SYNOPSIS
6.B uucp
7[ option ] ...
8source-file ... destination-file
9.PP
10.B uulog
11[ option ] ...
12.SH DESCRIPTION
13.I Uucp
14copies files named by the source-file arguments
15to the destination-file argument.
16A file name may be a path name on your machine, or may
17have the form
18.IP
19system-name!pathname
20.LP
21where `system-name' is taken from a list of system names
22which
23.I uucp
24knows about.
25Shell metacharacters ?*[] appearing in the pathname part
26will be expanded on the appropriate system.
27.PP
28Pathnames may be one of
29.IP (1)
30a full pathname;
31.IP (2)
32a pathname preceded by
33.IR ~user ;
34where
35.I user
36is a userid on the specified system
37and is replaced by that user's login directory;
38.IP (3)
39anything else is prefixed by the current directory.
40.PP
41If the result is an erroneous pathname for the remote system
42the copy will fail.
43If the destination-file is a directory, the last part of the
44source-file name is used.
45.ig
46If a simple
47.I ~user
48destination is inaccessible to
49.I uucp,
50data is copied to a spool directory and the user
51is notified by
52.IR mail (1).
53..
54.PP
55.I Uucp
56preserves execute permissions across the transmission
57and gives 0666 read and write permissions (see
58.IR chmod (2)).
59.PP
60The following options are interpreted by
61.IR uucp .
62.TP
63.B \-d
64Make all necessary directories for the file copy.
65.TP
66.B \-c
67Use the source file when copying out rather than
68copying the file to the spool directory.
69.TP
70.B \-m
71Send mail to the requester when the copy is complete.
72.PP
73.I Uulog
74maintains a summary log
75of
76.I uucp
77and
78.IR uux (1C)
79transactions in the file
80`/usr/spool/uucp/LOGFILE' by gathering
81information from partial log files named `/usr/spool/uucp/LOG.*.?'.
82It removes the partial log files.
83.PP
84The options cause
85.I uulog
86to print logging information:
87.TP
88.BI \-s sys
89Print information about work involving system
90.I sys.
91.TP
92.BI \-u user
93Print information about work done for the specified
94.I user.
95.SH FILES
96/usr/spool/uucp - spool directory
97.br
98/usr/lib/uucp/* - other data and program files
99.SH SEE ALSO
100uux(1C), mail(1)
101.br
102D. A. Nowitz,
103.I Uucp Implementation Description
104.SH WARNING
105The domain of remotely accessible files can
106(and for obvious security reasons, usually should)
107be severely restricted.
108You will very likely not be able to fetch files
109by pathname;
110ask a responsible person on the remote system to
111send them to you.
112For the same reasons you will probably not be able
113to send files to arbitrary pathnames.
114.SH BUGS
115.br
116All files received by
117.I uucp
118will be owned by uucp.
119.br
120The \-m option will only work sending files or receiving
121a single file.
122(Receiving multiple files specified by special shell
123characters ?*[] will not activate
124the \-m option.)