User will rename, here is the test:
$ touch My123File.txt $ rename 's/File//' My123File.txt
See man rename . rename supports regular expressions, so you can, for example, do this: execute safe, for example. / tmp or so:
cd /tmp rm *.txt touch My123File.txt My456File.txt ls *.txt rename 's/([A-Za-z]+)(\d+)(\w+)/$3-999-$2-$1/' *.txt ls *.txt
gives the following:
My123File.txt My456File.txt File-999-123-My.txt File-999-456-My.txt
source share