*BSD News Article 70440


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!imci3!newsfeed.internetmci.com!newsfeeder.gi.net!news.aristotle.net!usenet
From: cshivers@aristotle.net
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Stupid Question
Date: Fri, 07 Jun 1996 23:26:39 GMT
Organization: Aristotle Internet Access
Lines: 16
Message-ID: <4pa6r4$1lg@socrates.aristotle.net>
References: <31b82713.17325318@news.newreach.net>
NNTP-Posting-Host: twenty2.aristotle.net
X-Newsreader: Forte Free Agent 1.0.82

entropy@newreach.net (Dave A. Flanigan) wrote:

>Is there a simple command that I can use in BSDI to telete every
>occurance of a particular filename? Like if I wanted to delete every
>rhosts file on my system, any other file.
>	
>	I figured some varation of Find would work, but I cannot seem
>to put together one that works... and I am loth to experiment to much.

>	Any help would be greatly appreciated!

>	Dave

Look at the manpage for find. Of course, be very careful when using
this command or you will delete more than you would like.