[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what file's mtime is the current time?



On Mon, 2003-08-18 at 11:08, Dagfinn Ilmari Mannsåker wrote:
> RTFM. 
> 
>    TESTS
>        Numeric arguments can be specified as
> 
>        +n     for greater than n,
> 
>        -n     for less than n,
>        ^^^^^^^^^^^^^^^^^^^^^^
>        n      for exactly n.
> 
>    [...]
> 
>        -mtime n
>               File's data was last modified n*24 hours ago.
>                                                  ^^^^^^^^^
> 
> 
> You do the math.

while at it... how would one go for searching files, that are at least,
say 10 hours in the future? =)

..as 'find -mtime --10' doesn't seem to be valid ;)

scnr,
-- 
Herbert Valerio Riedel       /    Phone: (EUROPE) +43-1-58801-18840
Email: hvr@hvrlab.org       /    Finger hvr@gnu.org for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142



Reply to: