HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)
u
uucp(1) uucp(1)
NAME
uucp, uulog, uuname, uutry - UNIX system to UNIX system copy
SYNOPSIS
uucp [options ] source_files destination_file
uulog -f system [-x ][
-number ]
uulog [-s system ] ... [
-x ][-number ]
uuname [-l]
uutry -r1 -s system [-x debug_level]
DESCRIPTION
uucp
uucp copies files named by the source_files argument to the destination identified by the destination_file
argument. When copying files to or from a remote system, source_files and destination_file can be a path
name on the local system, or have the form:
system_name
!path_name
where system_name is the name of a remote system in a list of system names known to
uucp. When copy-
ing files to (but not from) a remote system, system_name can also be a chained list of remote system names
such as:
system_name
!system_name!... !system_name!path_name
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 configured to forward information (see
WARNINGS
below for restrictions).
The shell metacharacters
?, ∗ and [...] appearing in path_name are expanded on the appropriate
system.
path_name can be one of:
• A full path name.
• A path name preceded by
˜user where user is a login name on the specified system and
˜user is
replaced by that user’s login directory. (If an invalid login is specified, the default public directory
(
/var/spool/uucppublic
) is used instead.
• A path name preceded by
˜/destination where destination is appended to
/var/spool/uucppublic
.
NOTE: This destination is treated as a file name unless more than one file is being transferred by
this request or the destination is already a directory. To ensure that destination is a directory,
append a
/ to the destination argument. For example, ˜/dan/ as the destination argument
causes directory /var/spool/uucppublic/dan
to be created if it does not already exist,
and places the requested file or files in that directory.
• Anything else is prefixed by the current directory.
If an erroneous path name is specified for the remote system, the copy fails. If destination_file is a direc-
tory, the file-name part of the source_file argument is used.
uucp preserves execute permissions across the transmission and sets read and write permissions to 0666
(see chmod(2) and Access Control Lists below).
Options
uucp recognizes the following options:
-c Do not copy local file to the spool directory for transfer to the remote machine
(default).
-C Force the copy of local files to the spool directory for transfer.
-d Make all necessary directories for the file copy (default).
-f Do not make intermediate directories for the file copy.
Section 1−−1020 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005