Linux: delete files for a given year
After a short conversation with my friend and colleague Carlos Limpinho about how to delete files from a given year within a directory when ls doesn’t output the year for the modification date, I suggested the following solution based on a bash statement (example for 2010):
for f in *; do if [ `stat --format %y $f|cut -d "-" -f1` -eq 2010 ]; then rm $f; fi; done
Another possible solution would be to use find but the time options require one to calculate the days and make a range.
Feel free to comment and share if you have other solutions.

