Find files modified less than X days ago

Using findutils “find”, available on most Linux and BSD systems, on macOS via Homebrew findutils, or on Windows via Microsoft coreutils, search for all files modified in the last N days:

find . -name "*.txt" -type f -mtime -60
.
start searching in the current directory (specify any path here)
-name "*.txt"
Enclose this optional filter in quotes " " to avoid the shell expanding the asterisk into a giant list of files.
-type f
save time by searching only files, not directories (especially helpful the other way around where you want only directories)
-mtime -60
searches for files modified within the last 60 days