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