On Tue, 10 Oct 2000, you wrote:
> Meir Faraj wrote:
> > [root@localhost myscripts]# find .. -name "*.class" | rm
> > rm: too few arguments
> >
> > so rm doesn't see the pipe ;-)
>
> Should it? I would do:
>
> rm $(find .. -name "*.class")
>
> or
>
> find .. -name "*.class" -exec rm {} \;
or
`find .. -name "*.class" | xargs rm`
--
Bryan Paxton
Public key can be found at http://speedbros.org/bryan.paxton.asc
- [Cooker] funny things .... Meir Faraj
- Re: [Cooker] funny things .... Stefan Siegel
- Re: [Cooker] funny things .... Meir Faraj
- Re: [Cooker] funny things .... Leon Brooks
- Re: [Cooker] funny things .... Bryan Paxton
- Re: [Cooker] funny things .... Chmouel Boudjnah
- Re: [Cooker] funny things .... Kevin Franden
- Re: [Cooker] funny things .... Eugenio Diaz
- Re: [Cooker] funny things .... Jason Straight
- Re: [Cooker] funny things .... jorgp69
