Re: what file's mtime is the current time?
Please respect the debian mailing list policy (and my
Mail-(Copies|Followup)-To headers) and don't copy me on replies.
Herbert Valerio Riedel <hvr@hvrlab.org> writes:
> 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 ;)
find -printf '%p\0%T@\0\0' | \
gawk 'BEGIN { FS="\0"; RS="\0\0"; "date -d +30hours +%s" | getline now }
$2 > now { print $1 }'
--
ilmari
Reply to: