Links, Purging destination files, Excluded files and purge – HP Integrity NonStop H-Series User Manual
Page 73: Hard links

OSS File Synchronization
HP AutoSYNC User’s Guide—522580-021
5-3
Links
For example, to synchronize directory /home/usr/joe/tools on \PROD to the same
location on \BPROD: enter the following command from \PROD:
Purging Destination Files
If a file, a link or a directory exists in the destination file set but does not exist in the
source, it can be purged on the destination by specifying the PURGE option.
If PURGE is specified, subordinate directories that do not exist in the source are
purged. This differs from the purge processing for Guardian subvolumes. Entire
Guardian subvolumes are purged only if the SUBVOLPURGE option is specified in
addition to the PURGE option.
Excluded Files and PURGE
EXCLUDE does not apply to the destination system. AutoSYNC purges extra files or
directories that do not exist on source system, even if they have been listed in the
exclude file specified with the EXCLUDE option.
To exclude files from being purged on the destination, use the EXCLUDEPURGE
option.
Links
AutoSYNC provides synchronization options that control synchronization of hard links
and symbolic links.
Hard links
AutoSYNC always synchronizes a hard link when all links to the same inode are inside
the synchronization file set. The
command option ALLHARDLINKS
controls the synchronization of a hard link when some of the links to the same inode
are outside the synchronization file set.
By default, when ALLHARDLINKS is specified, all hard links that are inside the
synchronization file set are synchronized even if some hard link to the same inode
is outside the synchronization file set. A message is written to the logfile:
SYNC /home/usr/joe/tools TO /E/BPROD/usr/joe/tools;
Some hard link not in file set, synchronizing uncontained
hard link.