Find all files in the current directory and execute a command to move each file to a new file name with the current date and time in the format of YYYYMMDDHHMMSS.txt.
find . -exec mv {} $(date +%Y%m%d%H%M%S).txt \;