add a shell script to help with the future file renaming process

FossilOrigin-Name: dfbc1d4b76728a46bad875e57bbc3eba40b3dcc4b0a45ff5ac0bc91efa467460
This commit is contained in:
crc 2019-06-28 16:48:18 +00:00
parent e812604b69
commit 59398d77a2

3
tools/rename-forth-to-retro.sh Executable file
View file

@ -0,0 +1,3 @@
#!/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