DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

uuto(1bnu)


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(1bnu) facility to send files, while it allows the local system to control the file access. A source_files name is a pathname 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(1bnu)). user is the login name of a user on the specified system.

The following 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 filename will begin with 00 and will increase by 1 for each subsequent file of the same name to a maximum of 99. If another version of the file cannot be created, the user is notified by mail.

If the length of the filename is equal to the maximum for the system, no new version is created. If the length of the filename is less than the maximum for the system but the filename and the suffix are greater than the maximum, the suffix will be truncated. Therefore, it is still 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, the files must be qualified with a dot. For example, the following filenames are correct:

The following filenames are incorrect:

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:

newline
Go on to next entry.

d
Delete the entry.

m [dir]
Move the entry to named directory dir. If dir is not specified as a complete pathname (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 execute command.

*
Print a command summary.
uupick invoked with the -s system option will only search PUBDIR for files sent from system.

References

environ(5), mail(1), uucleanup(1Mbnu), uucp(1bnu), uustat(1bnu), uux(1bnu)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004