De man find
:
-newer file
File was modified more recently than file. If file is a sym‐
bolic link and the -H option or the -L option is in effect, the
modification time of the file it points to is always used.
O teste -newer
espera um arquivo como um argumento que não seja uma string de data. Assim, você pode apontar para um arquivo com a data de modificação correta ou usar -mtime
:
-mtime n
File's data was last modified n*24 hours ago. See the comments
for -atime to understand how rounding affects the interpretation
of file modification times.
Numeric arguments can be specified as
+n for greater than n,
-n for less than n,
n for exactly n.