change the extensins of a all files with the same name linux code example Example: bash change file extension rename "s/oldExtension/newExtension/" *.txt