Find all files in the Documents directory with a .txt extension and execute the command to replace any uppercase letters with lowercase letters.
find ~/Documents/ -type f -name "*.txt" -exec sed -i 's/\([A-Z]\)/\l\1/g' {} \;