Rename multiple files. Note: This page refers to the command from the
util-linuxpackage. For the Perl version, seefile-renameorperl-rename. Warning: This command has no safeguards and will overwrite files without prompting. More information: https://manned.org/rename.
rename {{foo}} {{bar}} {{*}}
rename {{[-vn|--verbose --no-act]}} {{foo}} {{bar}} {{*}}
rename {{[-o|--no-overwrite]}} {{foo}} {{bar}} {{*}}
rename {{.ext}} {{.bak}} {{*.ext}}
rename {{''}} {{'foo'}} {{*}}
rename {{foo}} {{foo00}} {{foo?}} && rename {{foo}} {{foo0}} {{foo??}}