In Linux, Mac and BSD, you can search for all files modified in the last 60 days. Of course, you might as well search for a particular file extension if you know it.
find ~ -name '*.m' -type f -mtime -60
- You need to enclose in quotes “ ” to avoid the shell expanding the asterisk into a giant list of files. This parameter is optional
- save time by searching only files, not directories (especially helpful the other way around where you want only directories)
- searches for files modified within the last 60 days (not older files)