Operating System - HP-UX
1843395 Members
3338 Online
110215 Solutions
New Discussion

Re: [ Swremove non gui options]

 
madhavabk
Regular Advisor

[ Swremove non gui options]

Hi all,

When we select multiple products, filesets in swremove GUI mode, it automatically puts them in a order and removes them.

Similarly can swremove with out GUI, CLI how is can be done? Means i would like to take a list of all the products that i want to remove(they are not ordered based on dependency)to swremove command.

Thanks in advance
2 REPLIES 2
Vishwas Pai
Regular Advisor

Re: [ Swremove non gui options]


AFAIK all dependent products needs to be in a single `sw` command and order does not matter.

ex:

swremove -x attribute=arg product1 product2 product3

{you will have to supply some arguments & attributes depending on the products}

Ex: kernel/driver products need
-x autoreboot=true.

HTH -vishwas

Cheryl Griffin
Honored Contributor

Re: [ Swremove non gui options]

ls > file
or
vi file

for x in `cat file`
do
swremove -x autoreboot=true $x
done
"Downtime is a Crime."