Find all files with the extension ".odt" in the Desktop directory and execute the command "sed -i 's/\(.*\)/\U\1/g' {}" on each of them.
find ~/Desktop -name '*.odt' -exec sed -i 's/\(.*\)/\U\1/g' {} \;