Software Distributor Administration Guide for HP-UX 11i

Managing Patches
Patch Management Tasks and Examples
Chapter 5 175
Copying Patches
The swcopy command uses the autoselect_patches, patch_filter,
and patch_match_target options in the same way that swinstall does,
except that there is no filtering based on architecture (either 32-bit or
64-bit).
The following example copies X11 software from the default depot and
copies all patches for this software at the same time. (Note that
autoselect_patches is true by default.)
swcopy X11 @ hostA:/tmp/sw
The following example copies patches that match the base filesets that
are already present in the target depot, and copies (at the same time and
from the same depot) a filtered set of patches (which have a category_tag
value of hardware_enablement) for the base software being copied. (Note
that autoselect_patches is true by default.)
swcopy -x patch_filter=”*.*,c=hardware_enablement” \
-x patch_match_target @ hostB:/tmp/newdepot
To copy all patches for the base filesets that are already present in the
target depot, starting from a depot that contains patch and non-patch
software:
swcopy -x patch_match_target=true \
@ hostC:/var/spool/sw
To copy a filtered set of patches for the base filesets that are already
present in the target depot, starting from a depot that contains patches
and that may contain non-patch software:
swcopy -x patch_match_target=true \
-x patch_filter=”*.*,c=special_release” \
@ hostD:/var/spool/sw/sample.depot