Find & Replace string

Doug Poland doug at polands.org
Thu Dec 9 09:17:12 PST 2004


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 


More information about the freebsd-questions mailing list