'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 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
