how to change file extension in shell scipt code example Example: bash change file extension rename "s/oldExtension/newExtension/" *.txt