how do you use rm to del found files
Rusty
kujayhawkbb at yahoo.com
Thu Jun 27 15:14:51 CDT 2002
Are those backticks or single quotes?
--- dattaway at attaway.net wrote:
> On Thu, 27 Jun 2002, Gene Dascher wrote:
>
> > This should do it for you:
> >
> > find . -name "*.class" -exec rm -rf {} ; -print
>
> or use the handy backticks, which runs the commands placed within them,
> returning its output in its place:
>
> rm `find . -name *.class -print`
>
> ...useful in many other ways, such as playing all mp3's that have "friday"
> in the title:
>
> xmms `find /mp3 | grep -i friday`
>
>
>
>
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
More information about the Kclug
mailing list