In a Linux terminal:
$ for f in *.txt; do mv -- "$f" "${f%.txt}.text"; done
will rename all *.txt to *.text files.