Re: Excluding future-dated files in 'find' on Cygwin

2023-10-13 Thread Andreas Metzler
On 2023-10-13 Backwoods BC wrote: [...] > find ./ -mtime +0 -mtime -1 > but this found nothing. When I changed it to: > find ./ -mtime 0 -mtime -1 > it worked as desired and found all files less than a day old and not > future-dated. > Can someone tell me, please, if this is a bug or the expec

Excluding future-dated files in 'find' on Cygwin

2023-10-13 Thread Backwoods BC
This relates to 'find' on Cygwin. I often force the mtime on some files to be in the future so that they will always appear at the top of a directory listing by reverse date which is my preferred format in Windows. This lets me leave notes to myself that will always be at the top of the list. I t