Xref: utzoo comp.unix.questions:29811 comp.unix.shell:1755 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!unisoft!greywolf From: greywolf@unisoft.UUCP (The Grey Wolf) Newsgroups: comp.unix.questions,comp.unix.shell Subject: Re: Finding files modified "today" (Was: Awk with passed parameters) Keywords: awk bsd shell Message-ID: <3450@unisoft.UUCP> Date: 27 Mar 91 02:18:43 GMT References: <3022@dsacg3.dsac.dla.mil> <1991Mar10.033553.28978@pilikia.pegasus.com> <55345@sequent.UUCP> <1991Mar15.182242.18780@athena.mit.edu> Reply-To: greywolf@unisoft.UUCP (The Grey Wolf) Organization: Foo Bar and Grill Lines: 13 /* * discussion re: finding all files modified today. * subdebate regarding performance of test unless it's a shell builtin... */ One way to accomplish finding all files modified today is to go by a timestamp file which was touched at midnight, and use "find . -newer -print | xargs /bin/ls -..." or whatever is most optimal. I think find(1) needs yet more improvement, most of all in the department of time granularity (if you can call a day "granular" -- seems like a large boulder to me...). Oh, and a -ctime option would be nice...