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

xargs is a wonderful program that builds the command line from the
command given to it and the file names piped into it.

-- 
  Keith T. Garner                                       [EMAIL PROTECTED]
  STR Consultant           http://www.str.com/             [EMAIL PROTECTED]
        "Its hard to play pin the tail on the donkey when its running
        around kicking you." -- Illinois Little Lotto radio commercial

Reply via email to