Here's what I came up with:
touch -t 200702270000 /tmp/date_marker
touch -t 200702280000 /tmp/date_marker2
find / -newer /tmp/date_marker -and \! -cnewer /tmp/date_marker2 -exec ls -ld {} \;
But that seems pretty kludgy. Anyone have a better suggestion?
Thanks!
touch -t 200702270000 /tmp/date_marker
touch -t 200702280000 /tmp/date_marker2
find / -newer /tmp/date_marker -and \! -cnewer /tmp/date_marker2 -exec ls -ld {} \;
But that seems pretty kludgy. Anyone have a better suggestion?
Thanks!
Nope, that's what I'd do.
Date: 2007-03-09 11:49 pm (UTC)Re: Nope, that's what I'd do.
Date: 2007-03-09 11:52 pm (UTC)no subject
Date: 2007-03-12 06:27 pm (UTC)but it works. I was going to suggest ctime but I realize you want JUST files for a given date. So your solution is probably the best, actually.
Alternatively, you could use perl to step through the file tree and look at the date portion of each files stamp. That'd be relatively quick to cobble together.
no subject
Date: 2007-03-12 06:37 pm (UTC)