1
0
Fork 0
arangodb/utils/replace_string.sh

7 lines
130 B
Bash
Executable File

#!/usr/bin/env bash
while read file; do
echo "$file: $1 -> $2"
sed -i 's/'$1'/'$2'/' "$file"
done < <(rgrep -l "$1" * )