prime/tools/rename.sh

4 lines
85 B
Bash
Raw Normal View History

#!/bin/bash -e
2022-04-04 10:20:15 +00:00
echo "$1 -> $2"
find . -type f -name '*.s' | xargs sed -i "s/$1/$2/g"