Using HP-UX Internet Services (August 2003)

Distributing Files Using rdist
Creating the distfile
Chapter 546
Table 5-1 The distfile Commands
Command
Name
Description
install Copies source files or directories to each host in the
destination list. You can specify any of the following options:
-b Performs a binary comparison of the file and
updates them if they differ. Without this
option, rdist updates files only if the size or
modification time differs.
-h Allows symbolic links on the master host and
copies the files that the link points to.
Without this option, rdist copies the name
of a symbolic link.
-i Ignores unresolved links. Without this
option, rdist tries to maintain the link
structure of the files copied and sends
warnings if any link is not found.
-R Removes the files in the remote host’s
directory that do not exist in the
corresponding directory on the master host.
-v Displays the old files on the remote host but
does not update any files or send any mail.
-w Appends the full path name (including
directory subtree) to a destination directory
name. For example, if the file /dira/filea
is copied to the directory dirb, the resultant
file is /dirb/dira/filea. Without this
option, the preceding copy operation results
in the file /dirb/filea.
-y Does not update files on the remote host that
are newer than the master copy.
destpath Installs the file on the remote host as the
specified path name.