From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hal Wigoda" Subject: Re: Questions! Date: Thu, 1 Apr 2004 09:27:24 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <003b01c417fd$d70a2eb0$ad6c56d1@DF69MK11> References: <003d01c4175e$d5296100$020aa8c0@Scott> <015d01c41760$343c8fe0$2a6156d1@DF69MK11> <16491.17657.837738.18592@cerise.nosuchdomain.co.uk> <20040401075037.GA31323@fede2.tumsan.fi> Reply-To: "Hal Wigoda" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: urgrue , admin sorry, but that is NOT correct either. he is looking for files that content the string "index.html" within the file, NOT the file name. ----- Original Message ----- From: "urgrue" To: "admin" Sent: Thursday, April 01, 2004 1:50 AM Subject: Re: Questions! > i always simply use: > grep -r index.html /some/path/* > > > > Hal Wigoda wrote: > > > > > 2) find -print -type f | xargs grep -l index.html > > > > Or, if you need to handle filenames which contain whitespace > > characters: > > > > find -type f -print0 | xargs -0 grep -l index.html > > > > -- > > Glynn Clements > > - > > To unsubscribe from this list: send the line "unsubscribe linux- > > admin" > > in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >