lkml.org 
[lkml]   [1998]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.1.131: some quality thoughts
Date
> > 
> > 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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean