Copy and Rename Multiple Files with Regular Expressions in bash
Here is a solution which use the find
command:
find . -name '20*' | while read oldname; do echo mv "$oldname" "${oldname/20/10}"; done
This command does not actually do your bidding, it only prints out what should be done. Review the output and if you are happy, remove the echo
command and run it for real.