From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Mayer Subject: Re: Questions! Date: Thu, 1 Apr 2004 00:05:54 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20040331220554.GA3938@mayer.homelinux.net> References: <003d01c4175e$d5296100$020aa8c0@Scott> <015d01c41760$343c8fe0$2a6156d1@DF69MK11> <406B377B.3020202@kjchome.homeip.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <406B377B.3020202@kjchome.homeip.net> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linux-Admin-Group On Wed, Mar 31, 2004 at 04:26:19PM -0500, Kevin J. Cummings wrote: > Hal Wigoda wrote: > >1) rsync > >2) find -print -type f | xargs grep -l index.html > > More simply: > > 2) find -name index.html -print As the question was: # 2) How would you go about locating all the files in a specific # directory tree that contain the text "index.html"? ^^^^^^^ I would say Hal's answer is the correct one. regards, Christian