[6776] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Using "find" to get rid of cores etc.

daemon@ATHENA.MIT.EDU (Chris Powell)
Sat Nov 30 11:03:45 1996

To: redhat-list@redhat.com
In-reply-to: tel1dvw's message of Fri, 29 Nov 1996 21:21:05 -0500.
	     <Pine.GSO.3.93.961129212008.6603B-100000@butthead> 
Date: Sat, 30 Nov 1996 11:03:00 -0500
From: Chris Powell <helios@brickandivy.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

> find . -name core -exec rm {} \; -print
> 
> Dave

To avoid those pesky "core" directories, however, insert "-type f" before 
"-name" and you'll be pleased with the result.

Regards,
Chris
-- 
Christopher Powell               Brick and Ivy Corporate Consulting
powell@brickandivy.com                   http://www.brickandivy.com
            -= A PGP key is available and gladly shared =-



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post