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