1UUCP(1)                     General Commands Manual                    UUCP(1)
2
3
4

NAME

6       uucp - unix to unix copy
7

SYNOPSIS

9       uucp  [  -acCdfmr  ]  [  -nuser  ]  [ -ggrade ] [ -sspool ] [ -xdebug ]
10       source-file....  destination-file
11

DESCRIPTION

13       Uucp copies files named by the source-file arguments  to  the  destina‐
14       tion-file  argument.  A file name may be a pathname on your machine, or
15       may have the form
16
17              system-name!pathname
18
19       where `system-name' is taken from a list  of  system  names  that  uucp
20       knows  about.  Shell metacharacters ?*[] appearing in the pathname part
21       will be expanded on the appropriate system.
22
23       Pathnames may be one of:
24
25       (1)    a full pathname;
26
27       (2)    a pathname preceded by ~user; where user  is  a  userid  on  the
28              specified system and is replaced by that user's login directory;
29
30       (3)    a  pathname prefixed by ~, where ~ is expanded into the system's
31              public directory (usually /usr/spool/uucppublic);
32
33       (4)    a partial pathname, which is prefixed by the current directory.
34
35       If the result is an erroneous pathname for the remote system, the  copy
36       will  fail.   If  the destination-file is a directory, the last part of
37       the source-file name is used.
38
39       Uucp preserves execute permissions across the  transmission  and  gives
40       0666 read and write permissions (see chmod(2)).
41
42       The following options are interpreted by uucp.
43
44       -a     Avoid  doing  a  getwd  to find the current directory.  (This is
45              sometimes used for efficiency.)
46
47       -c     Use the source file when copying out  rather  than  copying  the
48              file to the spool directory.  (This is the default.)
49
50       -C     Copy  the  source  file  to the spool directory and transmit the
51              copy.
52
53       -d     Make all necessary directories for the file copy.  (This is  the
54              default.)
55
56       -f     Do not make intermediate directories for the file copy.
57
58       -ggrade
59              Grade is a single letter/number; lower ASCII sequence characters
60              will cause a job to be transmitted earlier during  a  particular
61              conversation.   Default  is  `n'.  By way of comparison, uux(1C)
62              defaults to `A'; mail is usually sent at `C'.
63
64       -m     Send mail to the requester when the copy is complete.
65
66       -nuser Notify user on remote system (i.e., send user mail) that a  file
67              was sent.
68
69       -r     Do not start the transfer, just queue the job.
70
71       -sspool
72              Use spool as the spool directory instead of the default.
73
74       -xdebug
75              Turn on the debugging at level debug.
76

FILES

78       /usr/spool/uucp - spool directory
79       /etc/uucp/* - data and configuration files
80

SEE ALSO

82       uux(1C), mail(1)
83
84       D. A. Nowitz and M. E. Lesk, A Dial-Up Network of UNIX Systems.
85
86       D. A. Nowitz, Uucp Implementation Description.
87

WARNING

89       The  domain  of remotely accessible files can (and for obvious security
90       reasons, usually should) be severely restricted.  You will very  likely
91       not be able to fetch files by pathname; ask a responsible person on the
92       remote system to send them to you.  For the same reasons you will prob‐
93       ably not be able to send files to arbitrary pathnames.
94

BUGS

96       All  files  received  by  uucp  will be owned by the uucp administrator
97       (usually UID 5).
98
99       The -m option will only work sending files or receiving a single  file.
100       (Receiving  multiple  files  specified by special shell characters ?*[]
101       will not activate the -m option.)
102
103       At present uucp cannot copy to a system several "hops" away, that is, a
104       command of the form
105
106            uucp myfile system1!system2!system3!yourfile
107
108       is not permitted. Use uusend(1C) instead.
109
110       When  invoking  uucp from csh(1), the `!' character must be prefixed by
111       the `\' escape to inhibit csh's history mechanism. (Quotes are not suf‐
112       ficient.)
113
114       Uucp  refuses  to  copy  a  file  that  does  not  give  read access to
115       ``other''; that is, the file must have at least 0444 modes.
116
117
118
1197th Edition                     April 24, 1986                         UUCP(1)
Impressum