Re: 2.1.131: some quality thoughts

Perry Harrington (pedward@sun4.apsoft.com)
Thu, 17 Dec 1998 11:30:16 -0800 (PST)


> >
> > Because a lot of people do a recursive find on the word core and delete it
> > to keep their filesystem clean without checking for file type.
>
> People also dance on window ledges when drunk and fall out. "Consider it
> as natural selection in progress"
>
> Alan
>

If you use even the remotely sane and accepted method of 'find', you still won't
remove the directory; rm will not delete directories unless given the '-r' option.

Anyone doing an rm -rf with 'core' in the list oughta get bitten anyhow.

find / -name 'core' -exec rm {} \;

--Perry

-- 
Perry Harrington       Linux rules all OSes.    APSoft      ()
email: perry@apsoft.com 			Think Blue. /\

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/