Question: generating date ranges when using find utility
Using the -atime -mtime or -ctime tests in the find utility returns information about files that were accessed, modified or changed N 24 hour periods ago. Does anyone know how to use time utilities to generate arguments to these tests that specify particular dates? One could use a calender and a calculator to compute the number of days between the desired date and the current time. But, section 6.6 'Relative Times in Date Strings' in the find info pages explain a scheme of expressions for specifying relative times. The problem is that the expressions are valid arguments to the date utility, which returns date strings, not numbers of 24 hour periods between times.