From owner-freebsd-questions Mon Jun 15 08:43:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA01287 for freebsd-questions-outgoing; Mon, 15 Jun 1998 08:43:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mh2.cts.com (root@mh2.cts.com [205.163.24.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA01260 for ; Mon, 15 Jun 1998 08:43:40 -0700 (PDT) (envelope-from preeper@cts.com) Received: from sgt361.cts.com (gt361.cts.com [204.212.158.91]) by mh2.cts.com (8.8.7/8.8.5) with SMTP id IAA05576 for ; Mon, 15 Jun 1998 08:43:38 -0700 (PDT) Message-Id: <3.0.5.32.19980615082837.00852740@crash.cts.com> X-Sender: preeper@crash.cts.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 15 Jun 1998 08:28:37 -0700 To: freebsd-questions@FreeBSD.ORG From: Jerry Preeper Subject: searching files on server Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running a web site that has about 18,000 files on it of which I am guessing about 3,000 to 4,000 are probably web pages that some 150+ different people have worked on. This week I'm switching service providers and was wondering if there was an easy way to search all of the .htm, .html and .shtml files on the server in a particular path for an IP address. I just want to make sure no-one used IP address links, which I know some people did. I know there are search engines I can install for searching, however, the IP address is always going to be inside html tags. I was wondering if there was a way I could search using FreeBSD for an a particular string in any document with a html extension and have it print a list of all those documents. Jerry Preeper To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message