Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
-r Perform modifications on an alternate root instead of the
primary root. Your target_selection must be an
alternate root.
-u If no -a attribute options are specified, then delete the
specified software_selections from within your
target_selection. This action deletes the definitions of
the software objects from the depot catalog or Installed
Products Database.
If -a attribute options are specified, then delete them
from within the given target_selection.
-v Turns on verbose output to stdout. (The swmodify logfile
is not affected by this option.)
-V Lists all the SD layout_versions this command supports.
-a attribute=value Add, change, or deletes the attribute value.
Otherwise, it adds/changes the attribute for each
software_selection by setting it to the given value.
Multiple -a options can be specified. Each attribute
modification will be applied to every
software_selection.
The -s and -a options are mutually exclusive: the -s option
cannot be specified when the -a option is specified.
You cannot use the -a option to change the following
attributes: tag, revision, instance_id, vendor_tag,
corequisite or prerequisite.
-c catalog Writes full catalog structure information into the directory
specified by catalog. All attributes down to the file level
and control scripts are written. See “Requesting User
Responses (swask)” (page 221).
-C session_file Run the command and save the current option and operand
values to a session_file for reuse in another session. See
“Session Files” (page 39).
-f software_file Read a list of software selections from a separate file instead
of (or in addition to) the command line. See “Software Files
(page 36).
-P pathname_file Specifies a file containing the pathnames of files being
added to or deleted from the IPD.
-sproduct_specification_file The source Product Specification File (PSF) describes the
product, subproduct, fileset, and/or file definitions that will
be added or modified by swmodify.
If you specify a product_specification_file,
swmodify selects the individual software_selections
from the full set that is defined in the PSF. If no
software_selections are specified, then swmodify
will select all of the software defined in the PSF. The software
selected from a PSF is then applied to the
target_selection, with the selected software objects
either added to, modified in, or deleted from it.
If a PSF is not specified, then software_selections
must be specified. swmodify will select the
74 Managing Installed Software