1 ''' $Id: uucp.1,v 1.11 1995/06/26 21:34:49 ian Rel $
2 .TH uucp 1 "Taylor UUCP 1.06"
4 uucp \- Unix to Unix copy
7 [ options ] source-file destination-file
10 [ options ] source-file... destination-directory
14 command copies files between systems. Each
16 argument is either a pathname on the local machine or is of the form
20 which is interpreted as being on a remote system.
21 In the first form, the contents of the first file are copied to the
22 second. In the second form, each source file is copied into the
23 destination directory.
25 A file be transferred to or from
34 Any pathname that does not begin with / or ~ will be appended to the
35 current directory (unless the
39 option is used); this resulting path will not necessarily exist on a
40 remote system. A pathname beginning with a simple ~ starts at the
41 UUCP public directory; a pathname beginning with ~name starts at the
42 home directory of the named user. The ~ is interpreted on the
43 appropriate system. Note that some shells will interpret a simple ~
44 to the local home directory before
46 sees it; to avoid this the ~ must be quoted.
48 Shell metacharacters ? * [ ] are interpreted on the appropriate
49 system, assuming they are quoted to prevent the shell from
50 interpreting them first.
52 The copy does not take place immediately, but is queued up for the
54 (8) daemon; the daemon is started immediately unless the
58 switch is given. In any case, the next time the remote system is called the
59 file(s) will be copied.
61 The following options may be given to
65 Do not copy local source files to the spool directory. If they are
66 removed before being processed by the
68 (8) daemon, the copy will fail. The files must be readable by the
70 (8) daemon, and by the invoking user.
73 Copy local source files to the spool directory. This is the default.
75 .B \-d, \-\-directories
76 Create all necessary directories when doing the copy. This is the
79 .B \-f, \-\-nodirectories
80 If any necessary directories do not exist for the destination path,
84 If any of the source file names are directories, copy their contents
85 recursively to the destination (which must itself be a directory).
87 .B \-g grade, \-\-grade grade
88 Set the grade of the file transfer command. Jobs of a higher grade
89 are executed first. Grades run 0 ... 9 A ... Z a ... z from high to
93 Report completion or failure of the file transfer by
97 .B \-n user, \-\-notify user
98 Report completion or failure of the file transfer by
101 user on the remote system.
106 (8) daemon immediately; merely queue up the file transfer for later
110 Print jobid on standard output. The job may be
111 later cancelled by passing the jobid to the
116 It is possible for some complex operations to produce more than one
117 jobid, in which case each will be printed on a separate line. For
122 uucp sys1!~user1/file1 sys2!~user2/file2 ~user3
125 will generate two separate jobs, one for the system
127 and one for the system
131 Do not prepend remote relative path names with the current directory.
134 This option is used by the
136 shell script. It causes
138 to interpret the final argument as
140 The file(s) are sent to
141 .I ~/receive/USER/LOCAL
142 on the remote system, where
144 is from the final argument and
153 .B \-x type, \-\-debug type
154 Turn on particular debugging types. The following types are
155 recognized: abnormal, chat, handshake, uucp-proto, proto, port,
156 config, spooldir, execute, incoming, outgoing. Only abnormal, config,
157 spooldir and execute are meaningful for
160 Multiple types may be given, separated by commas, and the
162 option may appear multiple times. A number may also be given, which
163 will turn on that many types from the foregoing list; for example,
166 .B \-\-debug abnormal,chat.
168 .B \-I file, \-\-config file
169 Set configuration file to use. This option may not be available,
175 Report version information and exit.
178 Print a help message and exit.
180 The file names may be changed at compilation time or by the
181 configuration file, so these are only approximations.
184 /usr/lib/uucp/config - Configuration file.
187 UUCP spool directory.
189 /usr/spool/uucp/Log -
192 /usr/spool/uucppublic -
193 Default UUCP public directory.
195 mail(1), uux(1), uustat(1), uucico(8)
197 Some of the options are dependent on the capabilities of the
199 (8) daemon on the remote system.
205 switches do not work when transferring a file from one remote system
208 File modes are not preserved, except for the execute bit. The
209 resulting file is owned by the uucp user.