I want to rename all the files in a folder which starts with 123_xxx.txt to xxx.txt.
123_xxx.txt
xxx.txt
For example, my directory has:
123_xxx
In case you want to replace string in file name called foo to bar you can use this in linux ubuntu, change file type for your needs
find -name "*foo*.filetype" -exec rename 's/foo/bar/' {} ";"