customextract -- extract files from a distribution source


customextract -m device [ -f file ] [ files ]

customextract -N host:password [ -f file ] [ files ]

customextract -z directory [ -f file ] [ files ]


customextract extracts files from an SSO (software storage object) distribution source, which is typically a tape, CD-ROM, network software server, or directory of media images. The files are extracted relative to the current working directory, and no component scripts are run. customextract options parallel those of the custom(ADM) command.


customextract accepts these options:

-m device
Uses the media in the named device, for example /dev/rct0.

-N host:password
Uses the network machine host as the source for extraction. If specified, password is the password for the swadmin user on host. If no password is specified on the command line, customextract prompts for one.

-z directory
Assumes that a set of image files representing media volumes exist in the named directory. Media volumes should follow the custom format for volume naming:


where volume is a 3-digit, zero-indexed number indicating the media volume, and archive is a 3-digit, zero-indexed number indicating the archive number on the given volume.

Files to be extracted are either specified on the command line, or from a file with the -f option. customextract can extract files located under /opt or /var/opt; /var/opt files are copied from their prototypes under /opt/K/VendorCode/ComponentCode/ComponentVersion/.softmgmt/var.


To install the file /tmp/opt/K/SCO/Unix/5.0.0a/etc/mount from SCSI tape drive 0, use these commands:

cd /tmp
customextract -m /dev/rct0 /opt/K/SCO/Unix/5.0.0a/etc/mount

To install the stock distribution form of a set of /var/opt files listed in a file called /tmp/MyList:

To extract these files to /tmp, use these commands:

cd /tmp
customextract -f /tmp/MyList

See also

custom(ADM), hierarchy(M)

Standards conformance

customextract is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003