Using HP-UX Internet Services (August 2003)
Distributing Files Using rdist
Creating the distfile
Chapter 544
File Distribution Commands
The distfile command entries that distribute files to a remote host are
specified in the following format:
[
label
:]
source_list
->
destination_list command_list
;
where,
Command Entry Description
label
: Groups the command entries and is an
optional distfile command entry. You can
use labels to perform a partial update.
Normally, rdist updates all the files and
directories listed in a distfile. You can
invoke rdist with a specific label; in this
case, and rdist executes only the entries
under the specified label.
source_list
Specifies the directories or files on the
master host that must be used as the
master copy for distributing to the remote
hosts.
destination_list
Specifies the list of remote hosts to which
source_list
must be distributed
source_list
and
destination_list
The following names are allowed for this
command entry:
• Single name (for example, matisse).
• Variable defined previously in the
distfile. Variables to be expanded
begin with $, followed by the variable
name in braces (for example, ${HOSTS}).
• List of names, separated by white space
and enclosed in parentheses (for
example, ( /usr/lib /usr/bin
/usr/ucb )).