PING : THE SOFTWARE DEPOT COOKBOOK : COPYING SOMETHING INTO THE SOFTWARE DEPOT
There are basically two ways: Copy existing products or filesets with swcopy, or package up new products with swpackage. Copying is simple and was explained in Method B. The basic form of the swcopy command is:
# swcopy -s SOURCE_DEPOT SELECTION @ DESTINATION_DEPOT
How do you know what the software selection's name is? For patches, it's usually the name of the path. Use the swlist command to find out, like so:
% swlist -s DEPOT