How can I rename a file in linux to strip out certain characters from the file name?
For example,
My123File.txt to be renamed to My123.txt
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re okay with just wildcards (not full regexes), then you might try something like
This type of shell expansion is documented here.
If you really need regexes, try