Find all files in the directory ~/dir1/dir2 that are not symbolic links, remove the newline characters, and for each file, echo the file name followed by a semicolon and then move the file to a new file with the same name followed by "_old".
find ~/dir1/dir2 -not -type l | tr -d '\\n' | xargs -I {} echo {}\;\ mv {} {}_old