Adding .depot files to an existing depot

From jasonhoss.com
Jump to: navigation, search

This procedure is good for taking .depot patch files or other software .depot files and loading them into existing (or new) depot locations usable via SD-UX. Let's take the example of a directory with multiple .depot files that you wish to load into a SD-UX depot location. This can be accomplished using a "for" loop and swcopy.

for i in `ls /path/to/depot/files`
do
       swcopy -s /path/to/depot/files/$i \* @ /var/opt/ignite/depots/<depot_name>
done