Find all files in the current directory (and its subdirectories) whose name matches the pattern '*.*' (any name with an extension) and copy them to the Desktop directory.
find . -iname '*.*' | xargs -I % cp % ~/Desktop