Find all files in the current directory and its subdirectories, and execute a command to replace all uppercase letters with a random number between 1 and 26 for each file.
find ~ -type f -exec sed 's/[A-Z]/$(shuf -i 1-26 -n 1)/g' {} \;