Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uuto(1C) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

environ(5)

mail(1)

uucleanup(1M)

uucp(1C)

uustat(1C)

uux(1C)






       uuto(1C)                                                    uuto(1C)


       NAME
             uuto, uupick - public UNIX-to-UNIX system file copy

       SYNOPSIS
             uuto [options] source-files destination
             uupick [-s system]

       DESCRIPTION
             The uuto command sends source-files to destination.

             The uupick command accepts or rejects files transmitted to the
             user.

          Files
            /var/spool/uucppublic
                              public directory (PUBDIR)

             /usr/lib/locale/locale/LC_MESSAGES/uxbnu
                  language-specific message file [See LANG on environ(5).]

       USAGE
          uuto
             uuto uses the uucp(1C) facility to send files, while it allows
             the local system to control the file access.  A source-file
             name is a path name on your machine.  destination has the
             form:
                   system[!system] . . . !user

             where system is taken from a list of system names that uucp
             knows about [see uuname in uucp(1C)].  user is the login name
             of someone on the specified system.

             Two options are available:

             -p      Copy the source file into the spool directory before
                     transmission.

             -m      Send mail to the sender when the copy is complete.

             -w      If a file exists in the target directory with the same
                     name as the file being transferred, do not overwrite
                     the existing file.  Instead, try to create a new file.
                     If the file is named file, create file.N where N is a
                     one- or two-digit number.  The numbers appended to the
                     file name will begin with 00 and will increase by 1
                     for each subsequent file of the same name to a maximum


                           Copyright 1994 Novell, Inc.               Page 1













      uuto(1C)                                                    uuto(1C)


                    of 99.  If another version of the file cannot be
                    created, the user is notified by mail.

                    If the length of the file name is equal to the maximum
                    for the system, no new version is created.  If the
                    length of the file name is less than the maximum for
                    the system but the file name and the suffix are
                    greater than the maximum, the suffix will be
                    truncated.  It is still, therefore, possible for files
                    whose names are one or two characters shorter than the
                    system maximum to be overwritten.

            The files (or subtrees, if directories are specified) are sent
            to PUBDIR on system, where PUBDIR is a public directory
            defined in the uucp source.  By default, this directory is
            /var/spool/uucppublic.  Specifically, the files are sent to
                  PUBDIR/receive/user/mysystem/files

            The destined recipient is notified by mail(1) of the arrival
            of files.

            Note that, in order to send files that begin with a dot (for
            example, .profile), the files must be qualified with a dot.
            For example, the following files are correct:

                  .profile    .prof*    .profil

            The following files are incorrect:

                  *prof*    ?profile

         uupick
            uupick searches PUBDIR for files destined for the user.  For
            each entry (file or directory) found, a prompt is printed on
            the standard output.  In the C locale, it is:
                  from system sysname: [file filename] [dir dirname]

            uupick then reads a line from the standard input to determine
            the disposition of the file:

            new-line        Go on to next entry.

            d               Delete the entry.





                          Copyright 1994 Novell, Inc.               Page 2













       uuto(1C)                                                    uuto(1C)


             m [ dir ]       Move the entry to named directory dir.  If dir
                             is not specified as a complete path name (in
                             which $HOME is legitimate), a destination
                             relative to the current directory is assumed.
                             If no destination is given, the default is the
                             current directory.

             a [ dir ]       Same as m except moving all the files sent
                             from system.

             p               Print the content of the file.

             q               Stop.

             EOT (CTRL-d)    Same as q.

             !command        Escape to the shell to do command.

             *               Print a command summary.

             uupick invoked with the -s system option will only search the
             PUBDIR for files sent from system.

       REFERENCES
             environ(5), mail(1), uucleanup(1M), uucp(1C), uustat(1C),
             uux(1C)






















                           Copyright 1994 Novell, Inc.               Page 3








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026