Find all files in the current directory and its subdirectories, list them in reverse order, and for each file, execute a command to replace the last 4 digits of the filename with the same 4 digits followed by a asterisk.
find ./ -exec ls -tr {} \; | xargs sed -i 's/\d{4}$/\0\/\*/g'