查找指定时间段内的文件

 # 先用两个时间点创建临时文件 use [[CC]YY]MMDDhhmm[.ss] instead of current time
 touch -t 01010000 timestamp1
 touch -t 01020000 timestamp2
 
   # 再根据临时文件来查找
    find . -name "*.log" -newer timestamp1 ! -newer timestamp2

    # 最后删除临时文件
    rm -f timestamp1 timestamp2
原文地址:https://www.cnblogs.com/frankielf0921/p/7716519.html