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