Re: bulk rpm delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rahul Sundaram wrote:

Claude Jones wrote:

I did a rpm -qa | grep kde-il8n and now I have a long list of the il8n's which I want to delete. I thought I could just rpm -e kde-il8n* but it doesn't work. I've read man pages and searched for a solution - I'm sure it's staring me in the face - could someone tell me what I'm omitting?


The Bash shell gets greedy here and interprets * before the RPM command receives it so you use the following instead which uses \ to tell the shell to ignore it (ie) an escape sequence

rpm -e kde-i18n\*

oops. Got that wrong. try this one instead

rpm -e $(rpm -qa | grep kde-il8n)

regards
Rahul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux