Rename Multiple Files On The Command Line With zmv In zsh
October 2021
This will rename all the .mdx files in the current directory to be .txt files
one liner:
autoload zmv; zmv '(*).mdx' '$1.txt'autoload is require because zmv isn't loaded by default
via NyxKrage on twitch
end of line