Find all files with the extension ".txt" in the current directory and its subdirectories, then move each of them to a new file with the same name but with the extension ".txt.bak".
find ./ -name "*.txt" | xargs -i mv {} {}.bak