bulk rpm delete

Rahul Sundaram sundaram at redhat.com
Wed May 18 17:24:53 UTC 2005


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\*

regards
Rahul




More information about the users mailing list