Rename multiple files to another extension in Linux
Let us say that you want to rename all of your “.php5″ files to “.php” files. You can use for loop. |
|
|
Comments (2)
Personally, I use the command-line rename. A force of habit, I suppose, as I have krename installed and just can't remember that a GUI exists ;)
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Sign up and post (it is free) or Log in and post

Works perfectly and since you get to look at the results first, is rather more foolproof than the suggested method, especially for those not used to writing scripts...