Find all files with the extension ".txt" in the current directory, add the extension ".bak" to the end of each file name, and then move each file to its new name.
find . -name "*.txt" | sed 's/$/.bak/' | xargs -I '{}' mv {} {}