change all file extensions in a folder linux code example Example: bash change file extension rename "s/oldExtension/newExtension/" *.txt