Find all files in a temporary directory created by mktemp, and for each file, execute a sed command to replace all uppercase letters with the same letter surrounded by curly braces.
find $(mktemp -d) -type f | xargs -i sed -i 's/[A-Z]/{}/ /g' {}