rename

Rename a file or group of files with a regular expression. More information: https://keith.github.io/xcode-man-pages/rename.2.html.

rename 's/from/to/' *.txt