Operating System - HP-UX
1752704 Members
6560 Online
108789 Solutions
New Discussion юеВ

Re: A question about swcopy

 
SOLVED
Go to solution
Wang,MinJie
Super Advisor

A question about swcopy

Hi all
I have set up a depot on one system in which there are serveral products.
A friend of mine wants one of them.
So I use "swcopy -s /depot @ /tmp/C.depot" to copy it and now there is a problem:
The "C.depot" is a directory more than a file
So I have a question:
Can "swcopy" copy a product from a depot to exactly a file so I can transfer it?
Thx in advance
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: A question about swcopy

Shalom,

You can package your depot into a "tape" format.

swpackage -s /home/patch/nds_bundle.depot -d /home/patches/nds.july.2006.depot -x target_type=tape

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jaime Bolanos Rojas.
Honored Contributor

Re: A question about swcopy

Wang,

Unless I missunderstood you, swcopy is use to create a depot for further distribution or installation.
But in this instance you want to get a product out of the depot.
The easiest solution that comes to my mind is to look at the name of the product that you want to get out of the depot.

Look for it again in the itrc site and send your friend a link to it or download to your system and then ftp it to your friend.

Regards,

Jaime.
Work hard when the need comes out.
IT_2007
Honored Contributor

Re: A question about swcopy

Wang,

Instead of pulling one product from your depot and putting it on different directory on same server doesn't do any difference. You can give your friend the full path of the product like this server:/depot/ so that he can run command like swinstall -s server:/depot/.

Thanks,
Srini
Wang,MinJie
Super Advisor

Re: A question about swcopy

Hi all
Steven's answer solves my problem totally!
But thank you any way
everybody!