Find all files in the current directory and its subdirectories, and move each file to a randomly generated unique filename in the same directory.
find . -type f -execdir mv '{}' $(mktemp -u $(dirname '{}')/XXXXXXX) \;