'find' command is not returning files older than two days
Issue
- We're searching for files older than two days in a mount point, but there is no output.
- We're trying to delete files older than two days in a NFS mount point, but the following command doesn't return any files:
# find /mount/point/ -type f -atime +2
# find /mount/point/ -type f -ctime +2
# find /mount/point/ -type f -mtime +2
Environment
- Red Hat Enterprise Linux (RHEL) 5, 6, 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.