Find all files from the current year and execute a search for the string 'example' in each of them, printing the name of the files that contain it.
find $(date +%Y) -type f -exec grep -l 'example' {} \;