prime/rename.sh

4 lines
85 B
Bash
Raw Normal View History

#!/bin/bash -e
echo "$1 -> $2"
find . -type f -name '*.s' | xargs sed -i "s/$1/$2/g"