On Sun, Jul 18, 2004 at 10:16:03PM +1000, James Gregory wrote:
> Anyone have any ideas on this?
I think the best way is create files with the bounding times,
and then use -newer and ! -newer. GNU's version of touch makes
it easy.
e.g. to find files created on the 4th July:
touch --date '4 july' /tmp/find-time-start
touch --date '5 july' /tmp/find-time-end
find . -newer /tmp/find-time-start ! -newer /tmp/find-time-end -ls
I imagine it's _much_ faster than parsing text date strings from ls --format.
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html