You almost have it. Using find, it's something like
find . -name *.class -exec rm {} ;
find substitutes {} with the filename.
Directory trees worked much better under VAX/VMS.
> X-POP3-Rcpt: james@fattire
> Sender: [EMAIL PROTECTED]
> Date: Mon, 14 Sep 1998 19:17:17 +0000
> From: David Warnock <[EMAIL PROTECTED]>
> Organization: Sundayta Ltd
> Content-Type: text/plain; charset=us-ascii
> Resent-From: [EMAIL PROTECTED]
> X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/2099
> X-Loop: [EMAIL PROTECTED]
> Precedence: list
> Resent-Sender: [EMAIL PROTECTED]
>
> Hi,
>
> I am using Jikes 0.37 and whilst I trust it's -depends option I like to
> delete all class files prior to building a release. I am also very new
> to Linux and cannot see how to delete *.class files from a directory
> tree. Under windows NT I could use "del *.class /s" but "rm -r *.class"
> does not work.
>
> I thought I should be able to connect "find . -name *.class" to "rm"
> somehow using redirection or pipes but cannot get it to work.
>
> Any ideas on how I should do this?
>
> Thanks
>
> Dave
>
>