HOW TO USE replace_string ------------------------- see http://www.unixgods.org/~tilo/replace_string/ for thorough documentation and examples ------------------------- make a file for your replacement commands as follows: /home/scdemarc> cat replacements.txt s/chris/demarco/g s/cindy/coggins/g ./replace_string.txt -nq -S replacements.txt -f `find -type f` OR ./replace_string.txt -nq -S replacements.txt -f `find -type f` this will run the replacement commands in recursively on all files and subdirectories in directory to do non-recursive replacement on specified files, make the file as described above. Then make a second file which lists the files you want to change as follows: /home/scdemarc> cat inputfiles.txt test1.txt test2.txt ./replace_string.txt -nq -S replacements.txt -F inputfiles.txt