Date: Thu, 9 Dec 2004 11:17:09 -0600 From: Doug Poland <doug@polands.org> To: antenneX <antennex@swbell.net> Cc: freebsd-questions@freebsd.org Subject: Re: Find & Replace string Message-ID: <20041209171709.GE54558@polands.org> In-Reply-To: <019101c4de0e$dbdeb2d0$0200000a@SAGEAME> References: <019101c4de0e$dbdeb2d0$0200000a@SAGEAME>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 09, 2004 at 10:48:06AM -0600, antenneX wrote: > Help on commands/script needed. > > In a website of 1.GB+ with several hundred thousand files, I need to > interrogate all files to replace a single string like "oldone.010" with > "newone.011" > > What's the best way to do this? > find, xargs, and sed are your friends -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041209171709.GE54558>