Find all files with the extension ".tmp" in the current directory and up to three levels of subdirectories, and move them to the "/tmp/" directory.
find ~ -maxdepth 3 -name "*.tmp" -exec mv {} /tmp/ \;