#############################
Migrated to https://ubuntuincident.wordpress.com/2010/11/04/rename-several-files/.
Question
How to rename multiple files?
Answer
rename "regex-rule" files
Example
rename "s/WMV$/wmv/" *
That is, change "WMV" extension to "wmv".
You can replace '/'
with a different character too, e.g. rename "s|WMV$|wmv|" *
.
The option -n
(--no-act) can be used to test what files would be renamed.
Links
http://www.cyberciti.biz/tips/renaming-multiple-files-at-a-shell-prompt.html