Find all files in the current directory (and its subdirectories) whose name matches the pattern '*.*' (any name with any extension) and delete them using the 'rm -f' command.
find . -iname '*.*' | xargs -r rm -f