#!/bin/sh # # Edit the first line to specify which files you want to replace. # will create a old copy called cjktemp. just incase # # in the example below, I go through all files that start with v # in the current dir and replace the word libservb with the word # library for FILE in `ls v*`; do echo $FILE cp $FILE cjktemp.$FILE sed s/libservb/library/g cjktemp.$FILE > $FILE done