On Thu, Feb 23, 2006 at 10:16:03PM -0800, Sriram Narayanan wrote:
> 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.

http://ppt.perl.org/commands/find/find.snow.html

PPT's find command is just a wrapper around find2perl, which apparently
does not currently support units for the -time options.

You could take the Perl code produced by find2perl and modify it to suit
your needs, but that would be a pain if you just wanted to do lots of
one-off finds.

The best solution would be having an improved find2perl...

Ronald

Reply via email to