Find all files with the extension .txt in the current directory and its subdirectories, and replace all uppercase letters with an asterisk (*) in each file.
find ./ -name '*.txt' -exec sed -i -e 's/[A-Z]/*/g' {} +