My find command isn't finding with -mmin #

Ian Coetzee ubuntu at iancoetzee.za.net
Fri Jan 28 12:24:50 UTC 2011


On Fri, Jan 28, 2011 at 2:18 PM, Martin McCormick <martin at dc.cis.okstate.edu
> wrote:

> I must be interpreting the manual wrong for I can't seem to get
> find to locate files using the -mmin # directive. It looks like
> one should be able to do:
>
> find . -name "*" -daystart -mmin 120 -print
>

I have it that it should be

find . -name "*" -daystart -mmin -120 -print

There should be a "-" in front of the 120, as per:

Numeric arguments can be specified as

       +n     for greater than n,

       -n     for less than n,

       n      for exactly n.

Regards
Ian

<Snip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110128/778393e1/attachment.html>


More information about the ubuntu-users mailing list