1832903 Members
2723 Online
110048 Solutions
New Discussion

SWCOPY

 
SOLVED
Go to solution
j773303
Super Advisor

SWCOPY

I have two depot file,
1. aaa.depot
2. bbb.depot

How to combine to one depot file by using swcopy?? Thanks
Hero
3 REPLIES 3
Ravi_8
Honored Contributor
Solution

Re: SWCOPY

Hi

Let's imagine these 2 depots are in /tmp
#cd /tmp
#mkdir /tmp/depot

#for i in *.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/depot
done

will create a depot file in /tmp/depot
#swinstall -s /tmp/depot
will install both the aaa and bbb depot files.
never give up
Jean-Louis Phelix
Honored Contributor

Re: SWCOPY

hi,

I you want to create a third depot, you can swcopy in a new one in two pass. Just remember during swcopy to mark all software and remove some options like :

- autoselect dependencies
- enforce dependencies analysis

This option should only be used in swinstall phase.

Regards.
It works for me (© Bill McNAMARA ...)
Chuck J
Valued Contributor

Re: SWCOPY

* Load swcopy on the server you wish to copy to. Upon loading it will ask for the destination path of where you want software copied to, so select it.
* Then it will ask for the source details, so enter the source host and the path of where the files are (if the source is the same as the destination then enter it in, that's fine).
* Now you will be presented with the list of software on the source, so go through the list and highlight the ones you want to copy (use spacebar to select).
* Go to the menu: Actions -> Mark for copy
* Again: Actions -> Copy (analysis) ...
* If the analysis is ok go ahead and do it.

Chuck J