swmodify.1m (2010 09)
s
swmodify(1M) swmodify(1M)
-a attribute[=value]
Add, modify, or delete the value of the given attribute . If the
-u option is specified, then
delete the attribute from the given software_selections (or delete the value from the set of
values currently defined for the attribute ). Otherwise add/modify 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.
-c catalog
Specifies the pathname of the catalog which will be added, modified, or used as input by
swmodify.
The
-c and -a options are mutually exclusive, the
-c option cannot be specified when
the
-a option is specified.
-C session_file
Save the current options and operands only to the session_file . You can enter a relative
or absolute path with the file name. The default directory for session files is
$HOME/.sw/sessions/
. Without this option, by default, the session file is saved only
in the default directory
$HOME/.sw/sessions/
.
You can recall a session file with the
-S option.
-f software_file
Read the list of software_selections from software_file instead of (or in addition to) the
command line.
-P pathname_file
Specify a file containing the pathnames of files being added to or deleted from the IPD
instead of having to specify them individually on the command line.
-s product_specification_file
The source Product Specification File (PSF) describes the product, subproduct, fileset,
and/or file definitions which will be added, modified, or used as input by
swmodify.
The
-s and -u options are mutually exclusive, the -s option cannot be specified when
the -u option is specified.
-S session_file
Execute swmodify based on the options and operands saved from a previous session, as
defined in session_file. You can save session information to a file with the
-C option.
-x option=value
Set the session option to value and override the default value (or a value in an alternate
options_file specified with the -X option). Multiple -x options can be specified.
-X option_file
Read the session options and behaviors from options_file .
Operands
The
swmodify command supports two types of operands: software selections followed by target selec-
tions . These operands are separated by the "at" (@) character. This syntax implies that the command
operates on "software selections at targets".
Software Selections
If a product_specification_file is specified,
swmodify will select the software_selections from the full set
defined within the PSF. The software selected from a PSF is then applied to the target_selection, with
the selected software objects either added to it or modified within it. If a PSF is not specified, swmo-
dify will select the software_selections from the software defined in the given (or default)
target_selection.
The
swmodify command supports the following syntax for each software_selection:
bundle
[.product[.subproduct][.fileset]][,version]
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010