Re: regarding mtime
[email protected] (David Dyck) Fri, 24 Feb 2006 14:20:33 -0800 (PST)
| Newsgroups | perl.ppt |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 23 Feb 2006 at 22:16 -0800, Sriram Narayanan <sriram_psg2002@yahoo....: > I am using ppt in my windows box . When i tried to use "mtime" option > in "find" command i could only specify the units as days but i want to > specify the mtime units as hours. > > eg: find / -mtime -1 > > this searches for the files modified in the last "1 day" but i want the > files modified in the last "one hour" . So how to enable this option to > specify the time units in hours. Since ppt's find is a wrapper around find2perl try this to get files modified in the last 1 hour. find / -eval '-M _ < 1/24' -print