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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-05-29
  • 2022-01-16
  • 2021-12-05
  • 2021-12-31
猜你喜欢
  • 2021-06-23
  • 2021-11-04
  • 2022-12-23
  • 2022-02-18
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案