Mass Updating Text Files

Posted May 20, 2007 by Jason Faulkner  

Often times I do actually find myself needing to perform mass updates on a group of text files at once. For example on non-templated websites or collections of configuration files, you many need to perform replacing one value with another across an entire selection of files.

Today I just wanted to give you a quick example on how you can do this. I am utilizing the program, Editpad Lite to perform these changes:

  1. Highlight / select all your files.
  2. Right click on a selected file and go: Send To > EditPad.
  3. All the files will open in EditPad with each file in a separate tab.
  4. Select Edit > Find.
  5. Type your old text into the find box and your new text into the replace box.
  6. Check the box on the left side to have EditPad replace across all open documents.
  7. Run the replace.
  8. Select File > Save All, or click the toolbar icon and you have updated all your pages.

Whether you have 5 or 50 files open, they can all be updated in a matter of minutes.

Which Of These Traits Applies To YOUR Computing Life?...

Leave a Reply