retroforth/tools/rename-forth-to-retro.sh

4 lines
139 B
Bash
Raw Normal View History

#!/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