4.4BSD/usr/share/man/cat1/uucp.0

Compare this file to the similar file:
Show the results in this format:




UUCP(1)                BSD Reference Manual               UUCP(1)


NNAAMMEE
       uucp - unix to unix copy

SSYYNNOOPPSSIISS
       uuuuccpp  [  --aaccCCddffmmrr  ]  [ --nn_u_s_e_r ] [ --gg_g_r_a_d_e ] [ --ss_s_p_o_o_l ] [
       --xx_d_e_b_u_g ] source-file....  destination-file

DDEESSCCRRIIPPTTIIOONN
       _U_u_c_p copies files named by the  source-file  arguments  to
       the destination-file argument.  A file name may be a path-
       name on your machine, or may have the form

              system-name!pathname

       where `system-name' is taken from a list of  system  names
       that  _u_u_c_p knows about.  Shell metacharacters ?*[] appear-
       ing in the pathname part will be expanded on the appropri-
       ate system.

       Pathnames may be one of:

       (1)    a full pathname;

       (2)    a  pathname  preceded  by  ~~_u_s_e_r_;  where  _u_s_e_r is a
              userid on the specified system and is  replaced  by
              that user's login directory;

       (3)    a  pathname prefixed by ~~, where ~~ is expanded into
              the    system's    public    directory     (usually
              /var/spool/uucppublic);

       (4)    a  partial  pathname, which is prefixed by the cur-
              rent directory.

       If the result is an erroneous pathname for the remote sys-
       tem,  the  copy  will  fail.  If the destination-file is a
       directory, the last part of the source-file name is  used.

       _U_u_c_p preserves execute permissions across the transmission
       and gives 0666 read and write permissions (see  _c_h_m_o_d(2)).

       The following options are interpreted by _u_u_c_p.

       --aa     Avoid  doing a _g_e_t_w_d to find the current directory.
              (This is sometimes used for efficiency.)

       --cc     Use the source file when copying  out  rather  than
              copying  the file to the spool directory.  (This is
              the default.)

       --CC     Copy the source file to  the  spool  directory  and



7th Edition                June 6, 1993                         1








UUCP(1)                BSD Reference Manual               UUCP(1)


              transmit the copy.

       --dd     Make  all  necessary directories for the file copy.
              (This is the default.)

       --ff     Do not make intermediate directories for  the  file
              copy.

       --gg_g_r_a_d_e
              _G_r_a_d_e   is  a  single  letter/number;  lower  ASCII
              sequence characters will cause a job to  be  trans-
              mitted  earlier  during  a particular conversation.
              Default  is  `n'.  By  way  of  comparison,  _u_u_x(1)
              defaults to `A'; mail is usually sent at `C'.

       --mm     Send  mail  to  the requester when the copy is com-
              plete.

       --nn_u_s_e_r Notify _u_s_e_r on remote system (i.e., send _u_s_e_r mail)
              that a file was sent.

       --rr     Do not start the transfer, just queue the job.

       --ss_s_p_o_o_l
              Use  _s_p_o_o_l  as  the  spool directory instead of the
              default.

       --xx_d_e_b_u_g
              Turn on the debugging at level _d_e_b_u_g_.

FFIILLEESS
       /var/spool/uucp - spool directory
       /usr/lib/uucp/* - other data and program files

SSEEEE AALLSSOO
       uux(1), mail(1)

       D. A. Nowitz and M. E. Lesk, _A  _D_i_a_l_-_U_p  _N_e_t_w_o_r_k  _o_f  _U_N_I_X
       _S_y_s_t_e_m_s.

       D. A. Nowitz, _U_u_c_p _I_m_p_l_e_m_e_n_t_a_t_i_o_n _D_e_s_c_r_i_p_t_i_o_n.

WWAARRNNIINNGG
       The domain of remotely accessible files can (and for obvi-
       ous  security  reasons,  usually   should)   be   severely
       restricted.   You  will  very  likely not be able to fetch
       files by pathname; ask a responsible person on the  remote
       system to send them to you.  For the same reasons you will
       probably not be able to send files to arbitrary pathnames.





7th Edition                June 6, 1993                         2








UUCP(1)                BSD Reference Manual               UUCP(1)


BBUUGGSS
       All  files  received  by  _u_u_c_p  will  be owned by the uucp
       administrator (usually UID 5).

       The --mm option will only work sending files or receiving  a
       single  file.  (Receiving multiple files specified by spe-
       cial shell  characters  ?*[]  will  not  activate  the  --mm
       option.)

       At  present  _u_u_c_p  cannot  copy to a system several "hops"
       away, that is, a command of the form

            uucp myfile system1!system2!system3!yourfile

       is not permitted. Use _u_u_s_e_n_d(1) instead.

       When invoking _u_u_c_p from _c_s_h(1), the `!' character must  be
       prefixed by the `\' escape to inhibit _c_s_h's history mecha-
       nism. (Quotes are not sufficient.)

       _U_u_c_p refuses to copy a file that does not give read access
       to  ``other'';  that  is, the file must have at least 0444
       modes.































7th Edition                June 6, 1993                         3