Here's one of my favorite Linux shell scripts. I use it to change the extensions of a bunch of files all at once, i.e., to batch rename multiple files with one command.
For instance, I just had a situation where I got a bunch of files with an extension of
.PNG, using capital letters like that. That's no big deal if you have a few files to deal with, but what if you have 200 or more? That's where this script, named
mmv, comes in.
Using my shell script is really simple, like this: