On Sat, May 16, 2026 at 16:25:41 -0400, Karen Lewellen wrote: > Also, because I create many text files in a given day, my goal is very tight > here, but it seems I cannot provide actual dates, just a number of days > window? > There is not a syntax for say the window of 12 may, say 5 days ago until > 14 may, which would be 2 days ago?
There are lots of ways to solve this problem. Here's another approach: touch -t 202605120000 /tmp/start touch -t 202605150000 /tmp/end find . -name '*.txt' -newer /tmp/start ! -newer /tmp/end -print rm /tmp/start /tmp/end This creates two temporary files whose timestamps delimit the period of time we're interested in: from the start of 2026-05-12 to the start of 2026-05-15. This is a period lasting 72 hours (3 days). As before, you can replace -print with -ls or -printf if you want a different output format.

