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

Table Of Contents
-C session_file Run the command and save the current option and operand values
to a session_file for re-use 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).
-Q date Schedules a job for the given date when remote operations are
enabled. See “Scheduling Jobs from the Command Line (page 115)
and Chapter 7: “Remote Operations Overview” (page 116)
-s source Use the software source specified by source instead of the default,
/var/spool/sw. The syntax is: [host][:][/directory] |
[./relative_path] | [../relative_path]
host may be a host name, domain name, or internet address (for
example, 15.1.48.23). directory is an absolute path. To specify
a relative_path when no host is specified, the relative_path
must start with ./ or ../; otherwise, the specified name is
considered as a host.
-S session_file Run the command based on values saved from a previous session,
as defined in session_file. See “Session Files” (page 39).
-t target_file Read a list of target selections from a separate file instead of (or in
addition to) the command line. See “Target Files” (page 37).
-x option=value Sets a command option to value and overrides default values
or a values in options files. See “Changing Command Options ”
(page 91).
-X option_file Read session options and behaviors from option_file. See
“Changing Command Options ” (page 91).
software_selections The software objects to be copied. See “Software Selections
(page 35).
target_selections The target of the command. See “Target Selections” (page 37).
Changing Command Options
You can change the behavior of this command by specifying additional command-line options
when you invoke the command (using the -xoption) or by reading predefined values from a file.
The following table shows the defaults and options that apply to swcopy.
Table 23 swcopy Command Options and Default Values
polling_interval=2 admin_directory=/var/adm/sw
agent_auto_exit=true preview=false
recopy=falseagent_timeout_minutes=10000
allow_split_patches=false register_new_depot=true
reinstall=falseautoremove_job=false
autoselect_dependencies=true reinstall_files=true
reinstall_files_use_cksum=trueautoselect_minimum_dependencies=false
autoselect_patches=true remove_obsolete_filesets=false
retry_rpc=1autoselect_reference_bundles=true
codeword= retry_rpc_interval={0}
reuse_short_job_numbers=truecompress_files=false
compress_index=false rpc_binding_info=ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
controller_source=
rpc_binding_info_source=
create_target_path=true
Copying Software Depots 91