Operating System - HP-UX
1833541 Members
2958 Online
110061 Solutions
New Discussion

Re: swcopy multiple patches without gui

 
SOLVED
Go to solution
borut kurnik_1
Frequent Advisor

swcopy multiple patches without gui

Hello!

I would like to copy several '.depot' files
into one single depot directory, so
I wrote a short script for that.

The only problem is that the
'-enable_dependencies=false' and
deassigning the DISPLAY variable
still aren't enough to disable
gui(text mode at least).

So how do i enforce batch mode
operation?

Thanks,

Borut
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: swcopy multiple patches without gui

I've always used this:

mkdir /my_patch_depot

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


I've never had to unset my display!


Pete

Pete
Peter Nikitka
Honored Contributor

Re: swcopy multiple patches without gui

Hi,

you should swcopy NOT give the option '-i'.
When specifying the patches to swcopy completely (swcopy ... \* @ target) like Pete responded), no GUI is started.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
borut kurnik_1
Frequent Advisor

Re: swcopy multiple patches without gui

Hello!

Thanks, Pete.

I was missing the SW
selection '\*'.

Borut