touch -t 201711211615.47 start
touch -t 201711211617.47 end
find ./* -newer start |xargs ls -al
-rw-r--r-- 1 zengzhihao Panodic 0 Nov 21 16:16 ./3.c
-rw-r--r-- 1 zengzhihao Panodic 0 Nov 21 16:18 ./6.c
-rw-r--r-- 1 zengzhihao Panodic 0 Nov 21 16:17 ./end
查找文件
find ./* -type f -newer start |xargs ls -al
find ./* -newer start -not -newer end |xargs ls -al
-rw-r--r-- 1 zengzhihao Panodic 0 Nov 21 16:16 ./3.c
-rw-r--r-- 1 zengzhihao Panodic 0 Nov 21 16:17 ./end
或者
find ./* -newermt '2017-11-21 16:34:00'
-mtime:指定时间(以天为单位)内文件被修改过,modify
-mmin:指定时间(以分钟为单位)内文件被修改过,modify
find ./* -mmin -30
---------------------
作者:bewinged
来源:CSDN
原文:https://blog.csdn.net/zengzhihao/article/details/78593869
版权声明:本文为博主原创文章,转载请附上博文链接!