retroforth/tools/rename-forth-to-retro.sh
crc 59398d77a2 add a shell script to help with the future file renaming process
FossilOrigin-Name: dfbc1d4b76728a46bad875e57bbc3eba40b3dcc4b0a45ff5ac0bc91efa467460
2019-06-28 16:48:18 +00:00

3 lines
139 B
Bash
Executable file

#!/bin/sh
for f in *.forth; do mv -- "$f" "${f%.forth}.retro" ; done
for f in *.retro; do fossil rename -- "${f%.retro}.forth" "$f" ; done