Find all files in the current directory, excluding the current directory itself, and move each file to a new file with the same name but with the extension ".bak".
find . -type f | grep -v '^\.$' | xargs -i mv {} {}.bak