zmv
Move or rename files matching a specified extended glob pattern. tldr-pages
On several platforms
Several platforms
Move files using a regex-like pattern
zmv '(*).log' '$1.txt'IdentifyPreview the result of a move, without making any actual changes
zmv -n '(*).log' '$1.txt'IdentifyInteractively move files, with a prompt before every change
zmv -i '(*).log' '$1.txt'IdentifyVerbosely print each action as it's being executed
zmv -v '(*).log' '$1.txt'Identify