Software Distributor Administration Guide for HP-UX 11i

Managing Software Depots
Copying Software Depots
Chapter 4150
Copy Tasks and Examples
This section provides examples of commands for copying software
products. (See also “Additional Depot Management Tasks and Examples”
on page 155.)
Simple swcopy Examples
To copy all products from the DAT tape at /dev/rmt/0m to the default
depot (/var/spool/sw) on the local host:
swcopy -s /dev/rmt/0m \*
To copy a list of software selections (on a local CD-ROM) named in the
file mysoft to a depot at the path /depots/mydep/ on the host named
hostA
and preview the process before actually copying the software:
swcopy -p -f mysoft -s /mnt/cd @ hostA:/depots/mydep/
Using Software Codewords and Customer IDs
The swcopy command may prompt you for codewords if you try to access
codeword protected software. You can also enter new codewords from the
command line or from the GUI. This process is identical to that used by
swinstall. See “Using Software Codewords and Customer IDs” on
page 78 for more information.
Multiple Software Products in Depots
Software is packaged into products. Depots can store multiple versions of
a product.
If a product version already exists in the depot, swcopy will not replace it
unless the reinstall option is set to true. If this option is true, then the
product is recopied.
If other versions of the product already exist in the depot, swcopy copies
in the new version and the others are not changed.
swcopy does not automatically notify you when multiple versions of a
product exist. swcopy notifies you only when an exact version exists.
exists and will be skipped (or recopied)