Find all files in the root directory, print their filenames, remove all non-alphanumeric characters, take the first 32 characters, and rename each file by appending ".bak" to the end.
find / -type f -printf "%f\n" | tr -cd '[:alnum:]' | head -c 32 | xargs -I {} mv -- {} {}.bak