Software Distributor Administrator Guide (September 2010)

is an integer that distinguishes versions of products and bundles with the same
tag.
1.4.1.2 Software Files
To keep the command line shorter, software selection input files let you specify long
lists of software products. With a software selection file, you only have to specify the
single file name.
The -f command-line option lets you specify a software selection file. For example:
swinstall -f mysoft -s /mnt/cd @ targetB
In this example, the file mysoft (which resides in the current working directory for
software files) contains a list of software selections for the depot /mnt/cd.
In the software file, blank lines and comments (lines beginning with #) are ignored.
Each software selection must be specified on a separate line.
1.4.1.3 How Commands and Options Interact with Selections
The enforce_selections command option enables you to control the behavior of
the swinstall, swcopy, swremove, swconfig and swverify commands based on
the availability of the software selections. If enforce_selections is set to the default
value of false, then any of these commands continue to execute even if any one of
the selections is available. If enforce_selections is set to true, then any of these
commands continue to execute only if all the software selections are available.
For more information on the options, see “Using Command Options” (page 50).
1.4.2 Target Selections
Target selections follow software and source depot selections. If no target selection is
named, the target on which the operation will be performed is assumed to be the root
(/) directory on your local host. So, you do not have to use the @ sign and
[host][:][/directory] designation (described below) if you are operating on the
local host or default depot directory.
1.4.2.1 Syntax
The target_selections syntax is identical for all SD-UX commands that require
it:
@ [host][:][/directory] | [./relative_path] | [../relative_path]
The @ character is optional if you are using the local host and default directory. If
it is used, it acts as a separator between operands and the destination.
Only one @ character is needed.
You can specify the host by its host name, domain name, or internet address. A
directory can either be an absolute pathname, or a relative pathname. If a host is
specified, the directory must be an absolute path. To specify a relative_path
1.4 Working from the Command Line 49