Performs simple copy operations for the installp command. This command is used by the installp command and the install scripts.
inucp -s StartDirectory [ -e FinalDirectory ] ListFile ProductName
The inucp command copies the files in a file tree with its root at StartDirectory to the appropriate place on the FinalDirectory root.
Before replacing files that may already exist in the FinalDirectory file tree, the inusave command should be called to save the files until needed by the inurecv command.
The ListFile parameter specifies a list, one per line, of all the files for ProductName. ListFile is the full path name of the file that contains the relative path names of files that the product needs to have copied.
The ProductName parameter specifies the name of the software product to be copied.
INUEXPAND | This flag is set to 1 by the installp command if file systems are to be expanded if necessary to do the copy (that is, the -X flag was passed). It is set to 0 if file systems are not to be expanded. If this environment variable is not set, the default is not to expand file systems. |
INUTEMPDIR | This flag is set by the installp command to the path of the current temporary directory. If this flag is not set the default is /tmp. |
The inucp command returns the following error codes, which are defined in inuerr.h.
Privilege Control: You must be the root user to run this command.
To copy all the files listed in the /usr/lpp/X11/inst_root/al list from the /usr/lpp/X11/inst_root file tree to the root directory, enter:
inucp -s /usr/lpp/X11/inst_root /usr/lpp/X11/inst_root/al X11
The installp command, inurecv command, inurest command, inusave command.