Xref: utzoo comp.unix.questions:29855 comp.unix.shell:1759 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!emory!gatech!udel!princeton!silence!jay From: jay@silence.princeton.nj.us (Jay Plett) Newsgroups: comp.unix.questions,comp.unix.shell Subject: Re: Finding files modified "today" (Was: Awk with passed parameters) Summary: more options for find Keywords: awk bsd shell Message-ID: <686@silence.princeton.nj.us> Date: 28 Mar 91 03:25:45 GMT References: <3022@dsacg3.dsac.dla.mil> <3450@unisoft.UUCP> Followup-To: comp.unix.questions Organization: home Lines: 57 In article <3450@unisoft.UUCP>, greywolf@unisoft.UUCP (The Grey Wolf) writes: > 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... -ctime is available in at least Sun's and gnu's find. I have added several primitives to gnu find and sent the sources off to gnu. If gnu likes them, they should be available in a future release. -amin n File was last accessed n minutes ago. -anewer file File's access time is more recent than the modification time of file. -anewer is affected by -follow only if -follow comes before -anewer on the command line. -cmin n File's status was last modified n minutes ago. -cnewer file File's status was last changed more recently than the modification time of file. -cnewer is affected by -follow only if -follow comes before -cnewer on the command line. -gid n File's gid matches n. -lname pattern File is a symbolic link and its object matches glob pattern pattern. The entire object string is compared with pattern, not just its basename. For example, in ``foo -> ./bar', -lname bar would not match but -lname '*bar' would. Slashes have no special meaning. -mmin n File was last modified n minutes ago. -uid n File's uid matches n. -used n File was last accessed n days after its status was last changed. -plink True if file is a symbolic link, else false. Print file's name and its link object as ``name -> object''. To print all names, resolving symbolic links, use ``- plink -o -print''. --- Jay Plett jay@princeton.edu