If you additionally specify the -daystart
option, then the
periods of time start at the beginning of today rather than 24 hours ago. For
example, here is a set of files created yesterday and the day before:
$ find . -name \? -daystart -mtime +0 -mtime -3
./b
./c
$ ls -l b c
-rw------- 1 root root 0 Jan 6 18:00 b
-rw------- 1 root root 0 Jan 5 18:00 c