Find all files with any name and any extension in the current directory, and move them to a randomly generated temporary directory in the /tmp folder.
find ~ -name '*.*' -type f | xargs -I {} mv {} $(mktemp "/tmp/XXXXXX")