uuto, uupick - public UNIX-to-UNIX system file copy
uuto [-mp] source-file... destination
uupick [-s system]
uuto sends source-file to destination. 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. User is the login name of someone on the specified system.
The files (or sub-trees 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 recipient is notified by mail(1) of the arrival of files.
uupick accepts or rejects the files transmitted to the user. Specifically, uupick searches PUBDIR for files destined for the user. For each entry (file or directory) found, the following message is printed on standard output:
from system sysname: [file file-name] [dir dirname] ?
uupick then reads a line from standard input to determine the disposition of the file:
<new-line>
d
m [ dir ]
a [ dir ]
p
q
EOT (control-d)
!command
*
The following options are supported by uuto:
-m
-p
The following option is supported by uupick:
-s system
The following operands are supported for uuto:
destination
system-name!user
where system-name is taken from a list of system names that uucp knows about; see uuname. The argument user is the login name of someone on the specified system. The destination system-name can also be a list of names such as
system-name!system-name!... !system-name!user
in which case, an attempt is made to send the file via the specified route to the destination. Care should be taken to ensure that intermediate nodes in the route are willing to forward information.
source-file
See environ(5) for descriptions of the following environment variables that affect the execution of uuto and uupick: LC_TYPE, LC_MESSAGES, and NLSPATH.
The following exit values are returned:
0
>0
PUBDIR
See attributes(5) for descriptions of the following attributes:
|
mail(1), uucp(1C), uustat(1C), uux(1C), uucleanup(1M), attributes(5)
In order to send files that begin with a dot (for instance, .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
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |