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

NAME

6       uucp - Unix to Unix copy
7

SYNOPSIS

9       uucp [ options ] source-file destination-file
10
11       uucp [ options ] source-file... destination-directory
12

DESCRIPTION

14       The  uucp  command copies files between systems.  Each file argument is
15       either a pathname on the local machine or is of the form
16
17              system!path
18
19       which is interpreted as being on a remote system.  In the  first  form,
20       the contents of the first file are copied to the second.  In the second
21       form, each source file is copied into the destination directory.
22
23       A file be transferred to or from system2 via system1 by using
24
25              system1!system2!path.
26
27       Any pathname that does not begin with / or ~ will be  appended  to  the
28       current  directory  (unless  the -W or --noexpand option is used); this
29       resulting path will not necessarily exist on a remote system.  A  path‐
30       name  beginning  with a simple ~ starts at the UUCP public directory; a
31       pathname beginning with ~name starts at the home directory of the named
32       user.   The ~ is interpreted on the appropriate system.  Note that some
33       shells will interpret a simple ~ to the  local  home  directory  before
34       uucp sees it; to avoid this the ~ must be quoted.
35
36       Shell metacharacters ? * [ ] are interpreted on the appropriate system,
37       assuming they are quoted to prevent the shell  from  interpreting  them
38       first.
39
40       The  copy  does  not  take  place immediately, but is queued up for the
41       uucico (8) daemon; the daemon is started immediately unless the  -r  or
42       --nouucico switch is given.  In any case, the next time the remote sys‐
43       tem is called the file(s) will be copied.
44

OPTIONS

46       The following options may be given to uucp.
47
48       -c, --nocopy
49            Do not copy local source files to the spool  directory.   If  they
50            are  removed  before being processed by the uucico (8) daemon, the
51            copy will fail.  The files must be readable by the uucico (8) dae‐
52            mon, and by the invoking user.
53
54       -C, --copy
55            Copy  local  source  files  to  the  spool directory.  This is the
56            default.
57
58       -d, --directories
59            Create all necessary directories when doing the copy.  This is the
60            default.
61
62       -f, --nodirectories
63            If  any  necessary  directories  do  not exist for the destination
64            path, abort the copy.
65
66       -R, --recursive
67            If any of the source file names are directories, copy  their  con‐
68            tents  recursively  to  the  destination  (which  must itself be a
69            directory).
70
71       -g grade, --grade grade
72            Set the grade of the file transfer  command.   Jobs  of  a  higher
73            grade are executed first.  Grades run 0 ... 9 A ... Z a ... z from
74            high to low.
75
76       -m, --mail
77            Report completion or failure of the file transfer by mail (1).
78
79       -n user, --notify user
80            Report completion or failure of the file transfer by mail  (1)  to
81            the named user on the remote system.
82
83       -r, --nouucico
84            Do  not  start  uucico (8) daemon immediately; merely queue up the
85            file transfer for later execution.
86
87       -j, --jobid
88            Print jobid on standard output.  The job may be later cancelled by
89            passing  the jobid to the -k switch of uustat (1).  It is possible
90            for some complex operations to produce more  than  one  jobid,  in
91            which case each will be printed on a separate line.  For example
92                 uucp sys1!~user1/file1 sys2!~user2/file2 ~user3
93            will  generate  two separate jobs, one for the system sys1 and one
94            for the system sys2.
95
96       -W, --noexpand
97            Do not prepend remote relative path names with the current  direc‐
98            tory.
99
100       -t, --uuto
101            This  option  is used by the uuto shell script.  It causes uucp to
102            interpret the final argument as system!user.  The file(s) are sent
103            to  ~/receive/USER/LOCAL  on the remote system, where USER is from
104            the final argument and LOCAL is the local UUCP system name.  Also,
105            uucp will act as though --notify user were specified.
106
107       -x type, --debug type
108            Turn  on particular debugging types.  The following types are rec‐
109            ognized: abnormal, chat, handshake, uucp-proto, proto, port,  con‐
110            fig,  spooldir,  execute, incoming, outgoing.  Only abnormal, con‐
111            fig, spooldir and execute are meaningful for uucp.
112
113            Multiple types may be given, separated by commas, and the  --debug
114            option  may  appear  multiple  times.  A number may also be given,
115            which will turn on that many types from the  foregoing  list;  for
116            example, --debug 2 is equivalent to --debug abnormal,chat.
117
118       -I file, --config file
119            Set  configuration file to use.  This option may not be available,
120            depending upon how uucp was compiled.
121
122       -v, --version
123            Report version information and exit.
124
125       --help
126            Print a help message and exit.
127

SEE ALSO

129       mail(1), uux(1), uustat(1), uucico(8)
130

BUGS

132       Some of the options are dependent on the capabilities of the uucico (8)
133       daemon on the remote system.
134
135       The  -n  and  -m switches do not work when transferring a file from one
136       remote system to another.
137
138       File modes are not preserved, except for the execute bit.  The  result‐
139       ing file is owned by the uucp user.
140

AUTHOR

142       Ian Lance Taylor <ian@airs.com>
143
144
145
146                               Taylor UUCP 1.07                        uucp(1)
Impressum