Find all files with the extension .txt and execute the command sed to replace all characters with their uppercase equivalent for each file found.
find . -name '*.txt' -exec sed -i -e 's/\(.*\)/\U\1/g' {} +