Find all files in the current directory (and its subdirectories) whose name ends with ".txt" and execute the command "sed -i 's/\b[A-Z]\b/\L&/g' {}" on each of them.
find ./ -name *.txt -exec sed -i 's/\b[A-Z]\b/\L&/g' {} \;