change extension at all file in a dir debian code example Example: bash change file extension rename "s/oldExtension/newExtension/" *.txt