rename file extensions with bash cmd code example Example: bash change file extension rename "s/oldExtension/newExtension/" *.txt