In news:[email protected], James Wilde <[email protected]> typed: > Hi: > > Mac OSX 10.6.2 and OOo 3.2.0. > > Are there any batch scripts that will allow substitution of > one text string for another? > > I have 67 files in a directory, an unknown number of which > contain one or more names from a list. These names have to > be replaced, so that, for example, Adam is replaced by > Alan, Bill by Bertram and so on. Are there any scripts out > there that will do this? I can do it one name at a time - > there are only about eight names to be changed - but I'd > hate to have to go through 67 files and test for eight text > strings if I can avoid it. > > TIA > > //Jimbo=
There are 3rd party editors that will allow you to make the same edit in as many files as you open, limited only by memory. Notepad++ and NoteTAB each have free versions and can do what you need. They'll also allow you to open as many files at once as you have memory to hold. Mark them all, open them, enter the Find and Replace with, click All Documents, and click Replace All. Find them with a Google search; they're offered from many reputable web sites. HTH, Twayne` --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
