HP-UX Reference (11i v1 05/09) - 5 Miscellaneous Topics (vol 9)

s
sd(5) sd(5)
(HP-UX Software Distributor)
-l
level List all objects at the specified level when using
swlist, or define the level of the objects
when using
swacl,orswreg.
-M acl_entry
Adds a new ACL entry or changes the permissions of an existing entry using
swacl.
-Q date Schedules the command for the specified date and time.
-s source
Specifies source depot, PSF file, or tape from which software will be installed, copied, listed,
or packaged. (SD can read both tar
and cpio tape depots.)
-S session_file
Executes the command based on the options and operands saved from a previous session in
session_file. (You can save session information to a file with the
-C session_file option.)
See the
Session File heading in this manpage for more information.
-t target_file
Read the list of target_selections from target_file instead of (or in addition to) the command
line operands.
-x option=value
Set the session option to value and override the default value (or a value in an alternate
option_file specified with the -X option). Multiple -x options can be specified.
-X option_file
Read the session options and behaviors from option_file. These values defined in this file
override the default values.
Operands
Most SD commands support two types of operands: software selections followed by target selections. These
operands are separated by the "@" (at) character. This syntax implies that the command operates on "selec-
tions at targets".
Software Selections
The selections operands consist of software_selections for most SD commands. For the
swjob and swreg
commands, the selections can be job_ids and roots_or_depots respectively.
The SD commands support the following syntax for each software_selection:
bundle
[.product[.subproduct][.fileset]][,version]
product[.subproduct][.fileset][,version]
The = (equals) relational operator lets you specify selections with the following shell wildcard
and pattern-matching notations:
[], *, ?
For example, the following expression installs all bundles and products with tags that end with
"man":
swinstall -s sw_server *man
Bundles and subproducts are recursive. Bundles can contain other bundles and subproducts can
contain other subproducts. For example:
swinstall bun1.bun2.prod.sub1.sub2.fset,r=1.0
or (using expressions):
swinstall bun[12].bun?.prod.sub*,a=HP-UX
The \* software specification selects all products. Use this specification with caution.
The version component has the form:
[,r <op> revision][,a <op> arch][,v <op> vendor]
[,c
<op> category][,q=qualifier][,l=location]
[,fr
<op> revision][,fa <op> arch]
location applies only to installed software and refers to software installed to a location other than
the default product directory.
Section 5312 Hewlett-Packard Company 7 HP-UX 11i Version 1: September 2005