Find files in created between a date range

后端 未结 8 1000
遥遥无期
遥遥无期 2021-01-30 03:57

I use AIX via telnet here at work, and I\'d like to know how to find files in a specific folder between a date range. For example: I want to find all files in folder X that were

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 04:30

    List files between 2 dates

    find . -type f -newermt "2019-01-01" ! -newermt "2019-05-01"

    or

    find path -type f -newermt "2019-01-01" ! -newermt "2019-05-01"

提交回复
热议问题