Operating System - HP-UX
1826215 Members
2879 Online
109691 Solutions
New Discussion

Re: How can swremove a bunch

 
SOLVED
Go to solution
Jun Zhang_4
Regular Advisor

How can swremove a bunch

I can do
swremove -d cc pascal @ /path
but I have a lot more beside cc and pascal to be removed, and specify them all on the command line will be inconvenient. Is there an input list supplied to swremove to do the work?


Jun
Food lover
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: How can swremove a bunch

What about just invoking the swremove TUI or GUI? That would allow you to select multiple packages for removal without having to type everything on the command line.
Steven E. Protter
Exalted Contributor
Solution

Re: How can swremove a bunch

If you don't want to use the GUI(which I would do)

make a list of software, one per line.

Lets say its a file called remove.list

while -r xx
do
swremove $xx
done < remove.list

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