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