8 Sep
2009
8 Sep
'09
23:21
I have a question for 'find' experts. I want to find all files between two specific dates, and was able to do it with -mtime, but wonder if there's an easier way to do it. I used: find . -type f -daystart -mtime +LATER -a -mtime -EARLIER -exec ls -l {} \; where LATER is 3 for 5 Sept 2009 and EARLIER is 6 for 2 Sept 2009, to find files modified between 3 and 4 September. It works, but it feels cumbersome and the same values can't be used tomorrow to locate files for the same dates. Am I missing something obvious? -- Jim