How to change extension of multiple files (bash script)
The following is the script I use in Macbook (Mountain Lion). It should work on most /*nix shell like bash
, csh
, ksh
etc.
However, I have tested it only in bash
.
Script to change extension for multiple files
|
|
Save this file as “chext”, make it executable chmod +x chext
and add to your $PATH
.
Now you can use it like this:
|
|
|
|