Keith T. Garner wrote:
>
> On Mon, Sep 14, 1998 at 07:17:17, David Warnock said:
> > I thought I should be able to connect "find . -name *.class" to "rm"
> > somehow using redirection or pipes but cannot get it to work.
>
> You were very close to one possible solution :)
>
> find . -name *.class | xargs rm
>
All of which is more complicated than my favorite method, which is to
specify a separate .class file directory with the "-d" option (javac or
jikes); then it's just
rm -r classes\*
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc. http://www.partnersoft.com