# 先用两个时间点创建临时文件 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