Resource packaging scripts
The Resource distributor within the Transform Feature user interface can only copy one resource object at a time because of browser restrictions. Therefore, Transform Feature includes packaging scripts so that you can create archive files for multiple resource objects. An archive file is treated as a single object with the Resource distributor. When you are using an archive file to distribute resource objects, you must select Yes from the Archive list.
Transform Feature has a unique script for each operating system called respack
.
You can distinguish between the operating systems by the directory that contains the
script. This is the directory structure and name for the supported operating systems:
- AIX
/tools/respack/aix/respack.sh
- Linux
/tools/respack/linux/respack.sh
- Windows
/tools/respack/windows/respack.bat
- z/OS
/tools/respack/zos/respack.sh
/opt/infoprint/itm/tools/respack
. Make sure to transfer the scripts in binary mode to the machine where they will
be run.
The syntax for all the scripts is:
<script_name> <archive_name> <source_dir>Where:
- <script_name>
- The name of the script.
- <archive_name>
- The name of the archive where the resources are packed.
- <source_dir>
- The name of the directory where the resources are located.
The Resource distributor unpacks the resources in their respective locations in the Transform Feature directory structure, regardless of their relative paths in the archive file.