[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: bulk rpm delete
- From: Paul Howarth <paul city-fan org>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: bulk rpm delete
- Date: Wed, 18 May 2005 19:30:50 +0100
On Wed, 2005-05-18 at 22:58 +0530, Rahul Sundaram wrote:
> 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)
Or even:
# rpm -e $(rpm -qa kde-il8n\*)
Paul.
--
Paul Howarth <paul city-fan org>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]