man(1) Manual page archive


     UUCP(1)                                                   UUCP(1)

     NAME
          uucp, uulog, uuname - unix-to-unix remote file copy

     SYNOPSIS
          uucp [ options ... ] source ... destination

          uulog [ option ... ] [ system ]

          uuname [ -l ]

     DESCRIPTION
          Uucp copies source files to the destination file or direc-
          tory.  A file name may be an ordinary path name, or may have
          the form:

               system-name!filename

          where system-name is a computer that uucp knows about.

          Quoted shell metacharacters ?, * and [ ] appearing in a
          remote filename will be expanded on the remote system.

          Path names may be:

          (1)  a full path name;

          (2)  a path name preceded by ~user/ where user is a login
               name on the specified system and is replaced by that
               user's login directory;

          (3)  a path name preceded by ~/destination where ~ stands
               for The destination will be treated as a file name
               unless more than one file is being transferred by this
               request, the destination is already a directory, or the
               destination ends with `/'.  For example, `~/dan/' as
               the destination will make the directory
               `/usr/spool/uucppublic/dan' if it does not exist, and
               put the requested file(s) in that directory.

          (4)  anything else is prefixed by the current directory.

          If the result is an erroneous path name for the remote sys-
          tem the copy will fail.  If the destination is a directory,
          the basename of the filename is used.  Uucp preserves exe-
          cute permissions across the transmission and gives 0666 read
          and write permissions (see chmod(2)).

          For obvious security reasons, the domain of remotely acces-
          sible files may be severely restricted.  You will very
          likely not be able to fetch files by path name; ask a

     UUCP(1)                                                   UUCP(1)

          responsible person on the remote system to send them to you.
          Similarly you will probably not be able to send files to
          arbitrary path names.  By default, the only remotely acces-
          sible files are those whose names begin (equivalent to
          `~/').

          The options are

          -C       Copy files in their present state to a spool direc-
                   tory for later transfer.  -c Do not copy to the
                   spool directory; send files in their state at the
                   time of transmission (default).
          -d       Make all necessary directories for the file copy
                   (default).
          -f       Do not make intermediate directories for the file
                   copy.
          -ggrade  Grade is a single letter/number; earlier ASCII
                   sequence characters will cause the job to be trans-
                   mitted earlier during a particular conversation.
                   The default is N.
          -j       Output the job identification ASCII string on the
                   standard output.  This job identification can be
                   used by uustat to obtain the status or terminate a
                   job.
          -m       Send mail to the requester when the copy is com-
                   pleted.
          -nuser   Notify user on the remote system that a file was
                   sent.
          -r       Don't start the file transfer, just queue the job.
          -xdebug-level
                   Produce debugging output.  The debug_level is a
                   number between 0 and 9; higher numbers give more
                   detailed information.

          Uulog queries a log file of uucp or uuxqt transactions,
          optionally limited to a given system. Its options are

          -f       Print recent transactions and follow further trans-
                   actions as they occur.
          -x       Look in the uuxqt log file for the given system.
          -number  Print the last number transactions.

          Uuname lists the uucp names of known systems.  The -l option
          returns the local system name.

     FILES
          spool directories
          public directory for receiving and sending
          other data and program files
          /usr/spool/uucp/.Log/uuxqt/system  log of uuxqt transactions
                                             with system
          /usr/spool/uucp/.Log/uucico/system log of uucp transactions

     UUCP(1)                                                   UUCP(1)

                                             with system

     SEE ALSO
          uuto(1), mail(1), push(1), rcp(1), uux(1), uustat(1),
          uucico(8)
          P. Honeyman, `UUCP-the Program that Wouldn't Go Away', this
          manual, Volume 2

     BUGS
          For various reasons remote systems may decline to forward
          files transmitted through them.
          All files received by uucp will be owned by user `uucp'.
          Option -m works only with a single file.
          Uucp may run under a daemon userid, in which case files to
          be sent need general read permission.