Date: Thu, 4 Dec 2008 14:00:21 +0100 From: Ruben de Groot <mail25@bzerk.org> To: Vincent Hoffman <vince@unsane.co.uk> Cc: mcoyles@horbury.wakefield.sch.uk, freebsd-questions@freebsd.org Subject: Re: Mass find/replace... Message-ID: <20081204130021.GA17518@ei.bzerk.org> In-Reply-To: <4937D272.9090108@unsane.co.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <4937D272.9090108@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 04, 2008 at 12:52:02PM +0000, Vincent Hoffman typed: > Marc Coyles wrote: > > > > I need to do a find / replace throughout the entire of the > > /home/horbury/public_html directory... > > I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode' > > to get a list of the files that require the operation performing, but it > > comes up with an error (xargs: unterminated quote) after a few > > results... > > > try using > > find /home/Horbury/ -type f -print0| xargs -0 grep -l base64_decode > (not certain it'll fix it but good practice anyway) Or just: grep -r base64_decode /home/Horbury Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081204130021.GA17518>