Take the 2-minute tour ×

I want to rename batch of files named Example1.java, Example2.java to Q1.java, Q2.java at once. Is this possible?

share|improve this question

3 Answers 3

The rename command in terminal is a useful script that will take care of this for you using the simple VIM-style search and replace command. Assuming you have nothing else of the form Example*.java in your directory:

$ rename 's/Example/Q/' Example*.java

share|improve this answer

I remember there was a software called Bulk Rename in good old days of Ubuntu 7.10. I've searched for the package and i couldn't find it. But i've found another package Here. Just give it a try.

share|improve this answer


Good nautilus script. Let you preview before renaming.

share|improve this answer

Your Answer


