Software Distributor Administration Guide for HP-UX 11i
Introduction to Software Distributor
Working from the Command Line
Chapter 158
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.
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.
Syntax
The
target_selections
syntax is identical for all SD-UX commands
that require it:
@ [
host
][:][/
directory
]
• 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 must be specified by an absolute path.
•The : (colon) is required if you specify both a host and directory.
• On some systems, the @ character is used as the kill function. Type
stty on your system to see if the @ character is mapped to any other
function on your system. If it is, remove the mapping, change the
mapping, or use \@.