From owner-freebsd-questions Thu Dec 6 15:18:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webs1.accretive-networks.net (webs1.accretive-networks.net [207.246.154.13]) by hub.freebsd.org (Postfix) with ESMTP id 9FAD937B416 for ; Thu, 6 Dec 2001 15:18:32 -0800 (PST) Received: from localhost (davidk@localhost) by webs1.accretive-networks.net (8.11.1/8.11.3) with ESMTP id fB6NIV467899; Thu, 6 Dec 2001 15:18:31 -0800 (PST) Date: Thu, 6 Dec 2001 15:18:31 -0800 (PST) From: David Kirchner X-X-Sender: To: Drew Tomlinson Cc: Subject: Re: How to Use Find To Remove Files? In-Reply-To: <000f01c17ea3$7bc9db40$962a6ba5@lc.ca.gov> Message-ID: <20011206151756.D15780-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 6 Dec 2001, Drew Tomlinson wrote: > Now what I want to do is remove those files so I've tried (find . -name > "CVS" -ok "rm {}";) and various versions of the command but can't get > the syntax right. How should I construct this command? find . -name "CVS" -delete works on FreeBSD's find. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message